We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 316701e commit f8a3774Copy full SHA for f8a3774
.github/workflows/build.yml
@@ -29,9 +29,7 @@ jobs:
29
id: set
30
run: |
31
# Pick a latest tag based on the event type
32
- if [[ "${{ github.event_name }}" == "pull_request" ]]; then
33
- echo "LATEST_TAG=pr-${{ github.event.number }}" >> $GITHUB_OUTPUT
34
- elif [[ "${{ github.ref }}" != "refs/heads/${{ github.event.repository.default_branch }}" ]]; then
+ if [[ "${{ github.ref }}" != "refs/heads/${{ github.event.repository.default_branch }}" ]]; then
35
echo "LATEST_TAG=${{ github.ref_name }}" >> $GITHUB_OUTPUT
36
else
37
echo "LATEST_TAG=latest" >> $GITHUB_OUTPUT
0 commit comments