Skip to content

Commit

Permalink
Merge pull request #577 from jinko-core/checkout-before-build-in-rele…
Browse files Browse the repository at this point in the history
…ase-workflow

release workflow: checkout before build
  • Loading branch information
tanguysegarra authored Aug 26, 2022
2 parents c67f3ed + 9c74fc7 commit b46a54a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
default: true
target: ${{ matrix.target }}

- uses: actions/checkout@v3

- name: Build release
run: |
cargo build --release --target ${{ matrix.target }}
Expand All @@ -42,7 +44,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down

0 comments on commit b46a54a

Please sign in to comment.