Skip to content

Commit

Permalink
ci: checkout version branch after build
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl-cc committed Aug 19, 2023
1 parent 93885a2 commit 1ab28b3
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout version branch
uses: actions/checkout@v3
with:
ref: version
path: version
- name: Setup Rust
run: |
rustup target add $CARGO_BUILD_TARGET
Expand All @@ -33,6 +28,11 @@ jobs:
run: |
cargo run --locked --bin maa -- install stable
cargo build --release --locked --bin maa-run
- name: Checkout version branch
uses: actions/checkout@v3
with:
ref: version
path: version
- name: Archive binaries, generate checksums and update version.json
id: archive
run: |
Expand Down Expand Up @@ -95,11 +95,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout version branch
uses: actions/checkout@v3
with:
ref: version
path: version
- name: Setup Rust
run: |
rustup target add x86_64-apple-darwin
Expand All @@ -114,6 +109,11 @@ jobs:
run: |
cargo run --locked --bin maa -- install stable
cargo build --release --locked --bin maa-run --target x86_64-apple-darwin --target aarch64-apple-darwin
- name: Checkout version branch
uses: actions/checkout@v3
with:
ref: version
path: version
- name: Create universal binaries, archive, generate checksums and update version.json
id: archive
run: |
Expand Down

0 comments on commit 1ab28b3

Please sign in to comment.