Skip to content

Commit

Permalink
🚀 setup ci
Browse files Browse the repository at this point in the history
  • Loading branch information
niuhuan committed May 13, 2024
1 parent 0ea0171 commit 51be54e
Show file tree
Hide file tree
Showing 10 changed files with 1,488 additions and 41 deletions.
41 changes: 0 additions & 41 deletions .github/workflows/Package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,47 +21,6 @@ jobs:
steps:
- run: exit 0

check_release:
name: Check release
runs-on: ubuntu-latest
steps:
- name: Cargo cache
uses: actions/cache@v3
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-

- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
override: true

- name: Checkout
uses: actions/checkout@v3
with:
repository: ${{ github.event.inputs.repo }}
path: 'kobi'

- name: Cargo ci build cache
uses: actions/cache@v3
with:
path: |
kobi/ci/target/
key: ${{ runner.os }}-cargo-ci_target

- name: Check release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd kobi/ci
cargo run --release --bin check-release
build_release_assets:
name: Build release assets
needs:
Expand Down
Loading

0 comments on commit 51be54e

Please sign in to comment.