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 97a16fd commit d54f6c1Copy full SHA for d54f6c1
.github/workflows/build.yml
@@ -26,8 +26,7 @@ jobs:
26
- uses: actions/checkout@v4
27
- uses: viamrobotics/build-action@v1
28
with:
29
- # note: you can replace this line with 'version: ""' if you want to test the build process without deploying
30
- version: "" # ${{ github.ref_name }}
+ version: ${{ startsWith(github.ref, 'refs/tags/v') && github.ref_name || '' }}
31
ref: ${{ github.sha }}
32
key-id: ${{ secrets.viam_key_id }}
33
key-value: ${{ secrets.viam_key_value }}
0 commit comments