Skip to content

Commit d3e3a9b

Browse files
authored
Merge pull request #138 from n0th1ng-else/version-3
2 parents bf0e547 + 633fcbc commit d3e3a9b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
needs: version
3737
steps:
3838
- name: Read app version into ENV
39-
run: cat .VERSION >> $APP_VERSION
39+
run: |
40+
VER=$(cat .VERSION)
41+
echo "APP_VERSION=$VER" >> $GITHUB_ENV
4042
4143
- name: App version
4244
run: echo Picked the app version ${{ env.APP_VERSION }}-${{ github.sha }}
@@ -64,7 +66,9 @@ jobs:
6466
needs: version
6567
steps:
6668
- name: Read app version into ENV
67-
run: cat .VERSION >> $APP_VERSION
69+
run: |
70+
VER=$(cat .VERSION)
71+
echo "APP_VERSION=$VER" >> $GITHUB_ENV
6872
6973
- name: App version
7074
run: echo Picked the app version ${{ env.APP_VERSION }}-${{ github.sha }}

0 commit comments

Comments
 (0)