build test
Publish Cargo package / Publish-Cargo (push) Successful in 16s Details

main
HeNine 2 years ago
parent 7b0349fc26
commit 034039ad83

@ -13,12 +13,7 @@ jobs:
- run: echo "This job is now running on a ${{ runner.os }}." - run: echo "This job is now running on a ${{ runner.os }}."
- run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - run: echo "The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
# - name: Install Rust - name: Install minimal Rust
# run: |
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
# - run: source "$HOME/.cargo/env"
- name: Install minimal nightly
uses: https://github.com/actions-rs/toolchain@v1 uses: https://github.com/actions-rs/toolchain@v1
with: with:
toolchain: stable toolchain: stable
@ -28,4 +23,13 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Publish - name: Publish
run: cargo run -r uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features
- name: Run
uses: actions-rs/cargo@v1
with:
command: run
args: -r
Loading…
Cancel
Save