Skip to content

Commit 1c82858

Browse files
authored
Checkout latest master during build and remove clean step
1 parent 8e96ee1 commit 1c82858

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
uses: actions/checkout@v3
2424
with:
2525
fetch-depth: 0
26+
ref: master
2627

2728
- name: Set Git Config
2829
run: |
@@ -77,6 +78,9 @@ jobs:
7778
steps:
7879
- name: Checkout
7980
uses: actions/checkout@v3
81+
with:
82+
fetch-depth: 0
83+
ref: master
8084

8185
- name: Install Rust toolchain
8286
uses: actions-rs/toolchain@v1
@@ -86,11 +90,6 @@ jobs:
8690
override: true
8791
profile: minimal
8892

89-
- name: Clean
90-
uses: actions-rs/cargo@v1
91-
with:
92-
command: clean
93-
9493
- name: Build
9594
uses: actions-rs/cargo@v1
9695
with:
@@ -132,6 +131,7 @@ jobs:
132131
uses: actions/checkout@v3
133132
with:
134133
fetch-depth: 0
134+
ref: master
135135

136136
- name: Download artifacts
137137
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)