Skip to content

Commit c151b51

Browse files
switch to new environment variable syntax (#181)
1 parent cc81cb5 commit c151b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-snapshot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- name: Retrieve version
2323
run: |
24-
echo ::set-env name=VERSION_NAME::$(cat gradle.properties | grep -w "VERSION_NAME" | cut -d'=' -f2)
24+
echo "VERSION_NAME=$(cat gradle.properties | grep -w "VERSION_NAME" | cut -d'=' -f2)" >> $GITHUB_ENV
2525
2626
- name: Publish snapshot
2727
run: ./gradlew uploadArchives --no-daemon --no-parallel

0 commit comments

Comments
 (0)