Debug
This commit is contained in:
parent
e6f90c4a6b
commit
48143b83f7
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
|
@ -22,12 +22,14 @@ jobs:
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git tag "v${{ steps.determine-version.outputs.version }}" -a -m "Create new release"
|
git tag "v${{ steps.determine-version.outputs.version }}" -a -m "Create new release"
|
||||||
git push origin "v${{ steps.determine-version.outputs.version }}" || echo "::set-output name=should_publish::false"
|
SHOULD_PUBLISH="true"
|
||||||
|
git push origin "v${{ steps.determine-version.outputs.version }}" || SHOULD_PUBLISH="false"
|
||||||
|
echo "::set-output name=should_publish::$SHOULD_PUBLISH"
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs: tag
|
needs: tag
|
||||||
if: ${{ needs.tag.outputs.should_publish }} != "false"
|
if: ${{ needs.tag.outputs.should_publish }} == "true"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user