Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the release workflow #2789

Merged
merged 1 commit into from
May 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

build:
name: Build
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
needs:
- parse
strategy:
Expand All @@ -30,7 +30,7 @@ jobs:
with:
submodules: recursive
- 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:
RUST_CACHE_KEY_OS: rust-cache-${{ matrix.arch }}-${{ matrix.libc }}
- name: Install just
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:
name: Create Draft Release
environment:
name: release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
permissions:
contents: write
needs:
Expand Down Expand Up @@ -93,14 +93,14 @@ jobs:
needs: build
environment:
name: release
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: ${{ github.repository == 'containers/youki' }}
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
steps:
- uses: actions/checkout@v3
- 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
run: cargo publish -p libcgroups --no-verify
- name: Publish libcontainer
Expand Down
Loading