Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Apr 18, 2024
1 parent b1cfc06 commit 20f8830
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
RUSTFLAGS: --deny warnings

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install Rust Toolchain Components
uses: dtolnay/rust-toolchain@stable
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
use-cross: true
- target: aarch64-pc-windows-msvc
os: windows-latest
platform: windows-arm
platform: windows-arm64
use-cross: true

runs-on: ${{matrix.os}}
env:
BUILD_CMD: cargo

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Check Tag
id: check-tag
Expand Down Expand Up @@ -113,11 +113,9 @@ jobs:
fi
- name: Publish Archive
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
draft: false
files: ${{ steps.package.outputs.archive }}
prerelease: ${{ steps.check-tag.outputs.rc == 'true' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
prerelease: ${{ steps.check-tag.outputs.rc == 'true' }}

0 comments on commit 20f8830

Please sign in to comment.