mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-21 03:13:56 +02:00
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/
This commit is contained in:
@@ -38,8 +38,7 @@ jobs:
|
|||||||
run: git fetch --force --prune --tags --unshallow
|
run: git fetch --force --prune --tags --unshallow
|
||||||
- name: Determine build archive name
|
- name: Determine build archive name
|
||||||
run: |
|
run: |
|
||||||
export ARCHIVE_NAME=yabridge-$(git describe --always)-ubuntu-18.04.tar.gz
|
echo "ARCHIVE_NAME=yabridge-$(git describe --always)-ubuntu-18.04.tar.gz" >> "$GITHUB_ENV"
|
||||||
echo ::set-env "name=ARCHIVE_NAME::$ARCHIVE_NAME"
|
|
||||||
- name: Build the binaries
|
- name: Build the binaries
|
||||||
run: |
|
run: |
|
||||||
# Wine won't create a Wine prefix in ~/.wine because /github/home is
|
# 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
|
run: git fetch --force --prune --tags --unshallow
|
||||||
- name: Determine build archive name
|
- name: Determine build archive name
|
||||||
run: |
|
run: |
|
||||||
export ARCHIVE_NAME=yabridge-$(git describe --always).tar.gz
|
echo "ARCHIVE_NAME=yabridge-$(git describe --always).tar.gz" >> "$GITHUB_ENV"
|
||||||
echo ::set-env "name=ARCHIVE_NAME::$ARCHIVE_NAME"
|
|
||||||
- name: Build the binaries
|
- name: Build the binaries
|
||||||
run: |
|
run: |
|
||||||
# Wine won't create a Wine prefix in ~/.wine because /github/home is
|
# 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
|
run: git fetch --force --prune --tags --unshallow
|
||||||
- name: Determine build archive name
|
- name: Determine build archive name
|
||||||
run: |
|
run: |
|
||||||
export ARCHIVE_NAME=yabridgectl-$(git describe --always).tar.gz
|
echo "ARCHIVE_NAME=yabridgectl-$(git describe --always).tar.gz" >> "$GITHUB_ENV"
|
||||||
echo ::set-env "name=ARCHIVE_NAME::$ARCHIVE_NAME"
|
|
||||||
- name: Set up Rust toolchain
|
- name: Set up Rust toolchain
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user