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 667d264 commit c70e2c0Copy full SHA for c70e2c0
.github/workflows/release.yaml
@@ -205,9 +205,15 @@ jobs:
205
steps:
206
207
- name: set the release version (tag)
208
+ if: startsWith(github.ref, 'refs/tags/v')
209
shell: bash
210
run: echo "RELEASE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
211
212
+ - name: set the release version (main)
213
+ if: github.ref == 'refs/heads/main'
214
+ shell: bash
215
+ run: echo "RELEASE_VERSION=canary" >> $GITHUB_ENV
216
+
217
- name: download release assets
218
uses: actions/download-artifact@v3
219
0 commit comments