Skip to content

Commit

Permalink
switched to using GITHUB_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
tihmstar authored Nov 27, 2020
1 parent 2eb5022 commit 2f8d192
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,10 @@ jobs:
path: buildroot_macos-latest
- name: Set env vars and zip
run: |
echo "::set-env name=BUILD_VERSION_NUM::$(echo "$(git rev-list --count HEAD | tr -d '\n')")"
echo "::set-env name=BUILD_VERSION_SHA::$(echo "$(git rev-parse HEAD | tr -d '\n'])")"
echo "::set-env name=BUILD_VERSION_STR::$(echo "$(git rev-list --count HEAD | tr -d '\n')-$(git rev-parse HEAD | tr -d '\n'])")"
echo "::set-env name=COMMIT_MSG::$(echo "$(git log -1 --pretty=%B)")"
echo "BUILD_VERSION_NUM=$(echo "$(git rev-list --count HEAD | tr -d '\n')")" >> $GITHUB_ENV
echo "BUILD_VERSION_SHA=$(echo "$(git rev-parse HEAD | tr -d '\n'])")" >> $GITHUB_ENV
echo "BUILD_VERSION_STR=$(echo "$(git rev-list --count HEAD | tr -d '\n')-$(git rev-parse HEAD | tr -d '\n'])")" >> $GITHUB_ENV
echo "COMMIT_MSG=$(echo "$(git log -1 --pretty=%B)")" >> $GITHUB_ENV
zip -r buildroot_macos-latest.zip buildroot_macos-latest
zip -r buildroot_ubuntu-latest.zip buildroot_ubuntu-latest
- name: Create Release
Expand Down

0 comments on commit 2f8d192

Please sign in to comment.