mirror of
https://github.com/containers/youki
synced 2024-11-26 06:08:07 +01:00
Update the release workflow (#2789)
Signed-off-by: utam0k <k0ma@utam0k.jp>
This commit is contained in:
parent
8e42c2d98e
commit
88dc41b170
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
@ -18,7 +18,7 @@ jobs:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
needs:
|
needs:
|
||||||
- parse
|
- parse
|
||||||
strategy:
|
strategy:
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Setup Rust toolchain and cache
|
- name: Setup Rust toolchain and cache
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1.3.7
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
env:
|
env:
|
||||||
RUST_CACHE_KEY_OS: rust-cache-${{ matrix.arch }}-${{ matrix.libc }}
|
RUST_CACHE_KEY_OS: rust-cache-${{ matrix.arch }}-${{ matrix.libc }}
|
||||||
- name: Install just
|
- name: Install just
|
||||||
@ -62,7 +62,7 @@ jobs:
|
|||||||
name: Create Draft Release
|
name: Create Draft Release
|
||||||
environment:
|
environment:
|
||||||
name: release
|
name: release
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
needs:
|
needs:
|
||||||
@ -93,14 +93,14 @@ jobs:
|
|||||||
needs: build
|
needs: build
|
||||||
environment:
|
environment:
|
||||||
name: release
|
name: release
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-22.04
|
||||||
if: ${{ github.repository == 'containers/youki' }}
|
if: ${{ github.repository == 'containers/youki' }}
|
||||||
env:
|
env:
|
||||||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Setup Rust toolchain and cache
|
- name: Setup Rust toolchain and cache
|
||||||
uses: actions-rust-lang/setup-rust-toolchain@v1.3.7
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
- name: Publish libcgroups
|
- name: Publish libcgroups
|
||||||
run: cargo publish -p libcgroups --no-verify
|
run: cargo publish -p libcgroups --no-verify
|
||||||
- name: Publish libcontainer
|
- name: Publish libcontainer
|
||||||
|
Loading…
Reference in New Issue
Block a user