Update release workflow
- `ubuntu-18.04` runner has been deprecated and removed by GitHub. We now use `ubuntu-20.04`. - `actions-rs/toolchain` is replaced by `dtolnay/rust-toolchain`.
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- windows
|
- windows
|
||||||
include:
|
include:
|
||||||
- name: linux
|
- name: linux
|
||||||
os: ubuntu-18.04
|
os: ubuntu-20.04
|
||||||
build_deps: >
|
build_deps: >
|
||||||
libpcsclite-dev
|
libpcsclite-dev
|
||||||
archive_name: age-plugin-yubikey.tar.gz
|
archive_name: age-plugin-yubikey.tar.gz
|
||||||
@@ -49,10 +49,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
id: toolchain
|
||||||
toolchain: stable
|
- run: rustup override set ${{steps.toolchain.outputs.name}}
|
||||||
override: true
|
|
||||||
- name: Add target
|
- name: Add target
|
||||||
run: rustup target add ${{ matrix.target }}
|
run: rustup target add ${{ matrix.target }}
|
||||||
if: matrix.target != ''
|
if: matrix.target != ''
|
||||||
@@ -96,7 +95,7 @@ jobs:
|
|||||||
|
|
||||||
deb:
|
deb:
|
||||||
name: Debian ${{ matrix.name }}
|
name: Debian ${{ matrix.name }}
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
name: [linux]
|
name: [linux]
|
||||||
@@ -108,10 +107,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions-rs/toolchain@v1
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
with:
|
id: toolchain
|
||||||
toolchain: stable
|
- run: rustup override set ${{steps.toolchain.outputs.name}}
|
||||||
override: true
|
|
||||||
- name: Add target
|
- name: Add target
|
||||||
run: rustup target add ${{ matrix.target }}
|
run: rustup target add ${{ matrix.target }}
|
||||||
- name: cargo install cargo-deb
|
- name: cargo install cargo-deb
|
||||||
|
|||||||
Reference in New Issue
Block a user