Skip to content

Commit 9be835e

Browse files
fix gh release build (#454)
1 parent 3e6ea9c commit 9be835e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release-build.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
distribution: 'zulu'
2121
- name: Set up environment variables
2222
run: |
23-
echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
24-
echo "SCALA_VERSION=$(awk '{print $NF}' SCALA_VERSIONS | tail -1)" >> $GITHUB_ENV
23+
echo "VERSION=$(cat sjsonnet/version)" >> $GITHUB_ENV
24+
echo "SCALA_VERSION=3.3.6" >> $GITHUB_ENV
2525
- name: JAR Build
2626
run: ./mill "sjsonnet.jvm[$SCALA_VERSION].__.assembly"
2727
- name: JS Build
@@ -66,8 +66,8 @@ jobs:
6666
distribution: 'zulu'
6767
- name: Set up environment variables
6868
run: |
69-
echo "VERSION=$(cat VERSION)" >> $GITHUB_ENV
70-
echo "SCALA_VERSION=$(awk '{print $NF}' SCALA_VERSIONS | tail -1)" >> $GITHUB_ENV
69+
echo "VERSION=$(cat sjsonnet/version)" >> $GITHUB_ENV
70+
echo "SCALA_VERSION=3.3.6" >> $GITHUB_ENV
7171
- name: Native Binary Build
7272
run: ./mill "sjsonnet.native[$SCALA_VERSION].nativeLink"
7373
- name: Rename Artifacts
@@ -111,4 +111,4 @@ jobs:
111111
name: sjsonnet-${{ env.VERSION }}-release
112112
path: release/*
113113
retention-days: 30
114-
if-no-files-found: error
114+
if-no-files-found: error

0 commit comments

Comments
 (0)