ci: artifacts not supported as of right now.
This commit is contained in:
parent
ffe6e0197d
commit
c617811879
1 changed files with 30 additions and 30 deletions
60
.github/workflows/build.yaml
vendored
60
.github/workflows/build.yaml
vendored
|
@ -24,33 +24,33 @@ jobs:
|
|||
with:
|
||||
command: check
|
||||
args: --manifest-path pkgr/Cargo.toml --verbose --all
|
||||
build: # create artifacts and upload them
|
||||
needs: check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: install dependencies
|
||||
run: |
|
||||
apt update -y
|
||||
apt install -y curl gcc g++ make
|
||||
- uses: https://github.com/actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
- uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --release --manifest-path bootpkg/Cargo.toml --verbose --all
|
||||
continue-on-error: true
|
||||
- uses: https://github.com/actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --release --manifest-path pkgr/Cargo.toml --verbose --all
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: bootpkg
|
||||
path: bootpkg/target/release/bootpkg
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: pkgr
|
||||
path: pkgr/target/release/pkgr
|
||||
# build: # create artifacts and upload them
|
||||
# needs: check
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - uses: actions/checkout@v2
|
||||
# - name: install dependencies
|
||||
# run: |
|
||||
# apt update -y
|
||||
# apt install -y curl gcc g++ make
|
||||
# - uses: https://github.com/actions-rs/toolchain@v1
|
||||
# with:
|
||||
# toolchain: stable
|
||||
# override: true
|
||||
# - uses: https://github.com/actions-rs/cargo@v1
|
||||
# with:
|
||||
# command: build
|
||||
# args: --release --manifest-path bootpkg/Cargo.toml --verbose --all
|
||||
# continue-on-error: true
|
||||
# - uses: https://github.com/actions-rs/cargo@v1
|
||||
# with:
|
||||
# command: build
|
||||
# args: --release --manifest-path pkgr/Cargo.toml --verbose --all
|
||||
# - uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: bootpkg
|
||||
# path: bootpkg/target/release/bootpkg
|
||||
# - uses: actions/upload-artifact@v2
|
||||
# with:
|
||||
# name: pkgr
|
||||
# path: pkgr/target/release/pkgr
|
||||
|
|
Loading…
Reference in a new issue