1 parent 0394bb2 commit 9bda1dbCopy full SHA for 9bda1db
1 file changed
.github/workflows/build-and-release.yml
@@ -21,11 +21,17 @@ jobs:
21
plat: musllinux_1_2_riscv64
22
23
steps:
24
+ - name: Set Envs
25
+ run: |
26
+ echo "VERSION=0.0.0-dev" >> "$GITHUB_ENV"
27
+ cat "$GITHUB_ENV"
28
+ if: "!startsWith(github.ref, 'refs/tags/')"
29
+
30
- name: Set Envs
31
run: |
32
echo "VERSION=${GITHUB_REF##*/v}" >> "$GITHUB_ENV"
33
cat "$GITHUB_ENV"
- if: startsWith(github.ref, 'refs/tags/')
34
35
36
- uses: actions/checkout@v4
37
0 commit comments