Skip to content

Commit

Permalink
chore: Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dulingzhi committed Mar 25, 2024
1 parent 4dce576 commit f8a205a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,21 @@ jobs:

steps:
- uses: actions/checkout@v2
with:
submodules: recursive

- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: stable
toolchain: nightly
override: true
components: rustfmt, clippy

- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --release
args: --release -Z unstable-options --out-dir .

- name: Run tests
uses: actions-rs/cargo@v1
Expand All @@ -35,6 +37,6 @@ jobs:
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/v')
with:
files: .\target\release\MopaqPack-rs.exe
files: MopaqPack-rs.exe
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f8a205a

Please sign in to comment.