ci: artifacts not supported as of right now.

This commit is contained in:
Strix 2023-10-14 22:39:41 +02:00
parent ffe6e0197d
commit c617811879
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774

View file

@ -24,33 +24,33 @@ jobs:
with: with:
command: check command: check
args: --manifest-path pkgr/Cargo.toml --verbose --all args: --manifest-path pkgr/Cargo.toml --verbose --all
build: # create artifacts and upload them # build: # create artifacts and upload them
needs: check # needs: check
runs-on: ubuntu-latest # runs-on: ubuntu-latest
steps: # steps:
- uses: actions/checkout@v2 # - uses: actions/checkout@v2
- name: install dependencies # - name: install dependencies
run: | # run: |
apt update -y # apt update -y
apt install -y curl gcc g++ make # apt install -y curl gcc g++ make
- uses: https://github.com/actions-rs/toolchain@v1 # - uses: https://github.com/actions-rs/toolchain@v1
with: # with:
toolchain: stable # toolchain: stable
override: true # override: true
- uses: https://github.com/actions-rs/cargo@v1 # - uses: https://github.com/actions-rs/cargo@v1
with: # with:
command: build # command: build
args: --release --manifest-path bootpkg/Cargo.toml --verbose --all # args: --release --manifest-path bootpkg/Cargo.toml --verbose --all
continue-on-error: true # continue-on-error: true
- uses: https://github.com/actions-rs/cargo@v1 # - uses: https://github.com/actions-rs/cargo@v1
with: # with:
command: build # command: build
args: --release --manifest-path pkgr/Cargo.toml --verbose --all # args: --release --manifest-path pkgr/Cargo.toml --verbose --all
- uses: actions/upload-artifact@v2 # - uses: actions/upload-artifact@v2
with: # with:
name: bootpkg # name: bootpkg
path: bootpkg/target/release/bootpkg # path: bootpkg/target/release/bootpkg
- uses: actions/upload-artifact@v2 # - uses: actions/upload-artifact@v2
with: # with:
name: pkgr # name: pkgr
path: pkgr/target/release/pkgr # path: pkgr/target/release/pkgr