We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 188902f commit affbc21Copy full SHA for affbc21
.github/workflows/bun-compile.yml
@@ -126,6 +126,7 @@ jobs:
126
runs-on: ubuntu-latest
127
permissions:
128
contents: write
129
+ variables: write
130
steps:
131
- name: Download all artifacts
132
uses: actions/download-artifact@v4
@@ -159,3 +160,13 @@ jobs:
159
160
$PRERELEASE_FLAG \
161
artifacts/*
162
163
+ - name: Update V1_LATEST_TAG variable
164
+ if: ${{ !contains(inputs.version || github.event.client_payload.version, 'prerelease') }}
165
+ env:
166
+ GH_TOKEN: ${{ github.token }}
167
+ VERSION: ${{ inputs.version || github.event.client_payload.version }}
168
+ run: |
169
+ gh api --method PATCH "repos/${{ github.repository }}/actions/variables/V1_LATEST_TAG" \
170
+ -f name="V1_LATEST_TAG" \
171
+ -f value="v${VERSION}"
172
+
0 commit comments