From 5a64769699ec43043fc2758939134370b5fbb162 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Fri, 9 Oct 2020 12:52:12 +0200 Subject: [PATCH] Update GitHub Actions workflow to use env files set-env has been deprecated https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ --- .github/workflows/build.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 92d5ed26..ad7cf00d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,8 +38,7 @@ jobs: run: git fetch --force --prune --tags --unshallow - name: Determine build archive name run: | - export ARCHIVE_NAME=yabridge-$(git describe --always)-ubuntu-18.04.tar.gz - echo ::set-env "name=ARCHIVE_NAME::$ARCHIVE_NAME" + echo "ARCHIVE_NAME=yabridge-$(git describe --always)-ubuntu-18.04.tar.gz" >> "$GITHUB_ENV" - name: Build the binaries run: | # Wine won't create a Wine prefix in ~/.wine because /github/home is @@ -80,8 +79,7 @@ jobs: run: git fetch --force --prune --tags --unshallow - name: Determine build archive name run: | - export ARCHIVE_NAME=yabridge-$(git describe --always).tar.gz - echo ::set-env "name=ARCHIVE_NAME::$ARCHIVE_NAME" + echo "ARCHIVE_NAME=yabridge-$(git describe --always).tar.gz" >> "$GITHUB_ENV" - name: Build the binaries run: | # Wine won't create a Wine prefix in ~/.wine because /github/home is @@ -119,8 +117,7 @@ jobs: run: git fetch --force --prune --tags --unshallow - name: Determine build archive name run: | - export ARCHIVE_NAME=yabridgectl-$(git describe --always).tar.gz - echo ::set-env "name=ARCHIVE_NAME::$ARCHIVE_NAME" + echo "ARCHIVE_NAME=yabridgectl-$(git describe --always).tar.gz" >> "$GITHUB_ENV" - name: Set up Rust toolchain uses: actions-rs/toolchain@v1 with: