1
0
mirror of https://github.com/containers/youki synced 2024-11-23 09:21:57 +01:00

fix the release workflow.

Signed-off-by: utam0k <k0ma@utam0k.jp>
This commit is contained in:
utam0k 2022-03-23 21:25:52 +09:00
parent 2019ddb520
commit 3c4c477f10
No known key found for this signature in database
GPG Key ID: 14ACDDE088DF059E

@ -5,18 +5,13 @@ on:
tags: ["v[0-9]+.[0-9]+.[0-9]+*"]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
check:
name: Check
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- run: sudo apt-get -y update
- run: sudo apt-get install -y pkg-config libsystemd-dev libdbus-glib-1-dev libelf-dev libseccomp-dev
- name: Set up cargo
@ -24,16 +19,8 @@ jobs:
with:
toolchain: stable
override: true
- name: Release build
run: ./build.sh --release
- name: Cargo check
uses: actions-rs/cargo@v1
with:
command: check
- uses: actions-rs/cargo@v1
with:
command: test
args: -- --skip integration
- name: test
run: make test-all
upload:
name: Upload
@ -49,7 +36,7 @@ jobs:
toolchain: stable
override: true
- name: Release build
run: ./build.sh --release
run: make release-build
- name: Create output directory
run: mkdir output
- name: Copy files to output