build(ci): add artifact upload
This commit is contained in:
parent
cdf3d3a805
commit
1df75055df
|
@ -11,25 +11,23 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
- run: cargo test --all-features
|
- run: cargo test
|
||||||
#- name: Assemble fat jar
|
- run: cargo build --release
|
||||||
# run: ./gradlew shadowJar
|
- uses: actions/upload-artifact@v4
|
||||||
#- name: Upload jar as artifact
|
with:
|
||||||
# uses: actions/upload-artifact@v4
|
name: mostr_${{ github.sha }}_${{ matrix.os }}
|
||||||
# with:
|
path: target/release/mostr
|
||||||
# name: software-challenge-gui-${{ github.sha }}-${{ matrix.os }}
|
#build-arm:
|
||||||
# path: build/*.jar
|
# runs-on: ${{ matrix.os }}
|
||||||
build-arm:
|
# if: startsWith(github.ref, 'refs/tags/')
|
||||||
runs-on: ${{ matrix.os }}
|
# strategy:
|
||||||
if: startsWith(github.ref, 'refs/tags/')
|
# matrix:
|
||||||
strategy:
|
# os: [macos-latest-large]
|
||||||
matrix:
|
# jdk: [11]
|
||||||
os: [macos-latest-large]
|
# steps:
|
||||||
jdk: [11]
|
# - uses: actions/checkout@v4
|
||||||
steps:
|
# - uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||||
- uses: actions/checkout@v4
|
# - run: cargo test --all-features
|
||||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
|
||||||
- run: cargo test --all-features
|
|
||||||
#release:
|
#release:
|
||||||
# needs: [build, build-arm]
|
# needs: [build, build-arm]
|
||||||
# runs-on: ubuntu-latest
|
# runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue