Skip to content

Commit

Permalink
ci: fix core not found
Browse files Browse the repository at this point in the history
  • Loading branch information
Itsusinn committed Sep 26, 2024
1 parent 5d687cd commit ac5664f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build/Test/Release
name: CI

on:
push:
Expand All @@ -14,6 +14,8 @@ concurrency:
env:
PACKAGE: "tuic-server"
PACKAGE2: "tuic-client"
RUST_TOOLCHAIN: "nightly-2024-09-21"

jobs:
compile:
name: ${{ matrix.release-name || matrix.target || 'Unknown' }}
Expand Down Expand Up @@ -147,7 +149,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain || 'nightly' }}
toolchain: ${{ matrix.toolchain || env.RUST_TOOLCHAIN }}
target: ${{ matrix.target }}
components: ${{ matrix.components || 'rustfmt, clippy' }}

Expand Down Expand Up @@ -244,7 +246,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Clean git tag
if: startsWith(github.ref, 'refs/tags/v*')
if: startsWith(github.ref, 'refs/tags/v')
run: |
# Delete latest tag locally (for git-cliff)
git tag -d latest || true
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ac5664f

Please sign in to comment.