Skip to content

Commit

Permalink
Simplified release trigger logic
Browse files Browse the repository at this point in the history
  • Loading branch information
bottiger committed Jun 26, 2024
1 parent f65aa0e commit ac01943
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
git config user.email "[email protected]"
git tag v${{ env.VERSION }}
git push origin v${{ env.VERSION }}
echo "::set-output name=create_release::true"
fi
- name: "web-ext build"
Expand All @@ -56,7 +57,8 @@ jobs:
release:
runs-on: ubuntu-latest
needs: build # Ensure the build job completes first
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
if: ${{ needs.build.outputs.create_release == 'true' }}
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
#if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: "Checkout"
Expand Down

0 comments on commit ac01943

Please sign in to comment.