Skip to content

Commit a27199d

Browse files
authored
Merge pull request #1454 from ckyrouac/release-cleanup
ci: Check if it's time for release earlier in gh action
2 parents b173486 + f15a65a commit a27199d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/scheduled-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
fetch-depth: 0
2929
token: ${{ secrets.GITHUB_TOKEN }}
3030

31-
- name: Install deps
32-
run: ./ci/installdeps.sh
33-
3431
- name: Mark git checkout as safe
3532
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
3633

@@ -58,6 +55,10 @@ jobs:
5855
echo "should_release=false" >> $GITHUB_OUTPUT
5956
fi
6057
58+
- name: Install deps
59+
if: steps.check_schedule.outputs.should_release == 'true'
60+
run: ./ci/installdeps.sh
61+
6162
- name: Import GPG key
6263
if: steps.check_schedule.outputs.should_release == 'true'
6364
uses: crazy-max/ghaction-import-gpg@v6

0 commit comments

Comments
 (0)