Skip to content

Commit 46f08cc

Browse files
committed
only manual trigger
1 parent 7c1e034 commit 46f08cc

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@ name: Release
22

33
on:
44
workflow_dispatch:
5-
schedule:
6-
- cron: "0 0 1-7 3,6,9,12 *"
7-
# at 0:00, on the first seven days of the month, in march, june, september and december
8-
# in cron, it is not possible to say "first monday of the month", so the cron is selecting
9-
# the first week, and the action is only running if the day is a monday using the
10-
# is-it-monday step
115

126
env:
137
CARGO_TERM_COLOR: always
@@ -18,21 +12,10 @@ jobs:
1812
steps:
1913
- uses: actions/checkout@v2
2014

21-
- name: Only run on mondays
22-
id: is-it-monday
23-
continue-on-error: true
24-
run: |
25-
if [[ ! $(date +%u) -eq 1 ]]; then
26-
echo 'This is not a monday.'
27-
exit 1
28-
fi
29-
3015
- name: Install cargo-release
31-
if: steps.is-it-monday.outcome=='success'
3216
run: cargo install cargo-release
3317

3418
- name: Setup release
35-
if: steps.is-it-monday.outcome=='success'
3619
run: |
3720
git config user.name 'Bevy Auto Releaser'
3821
git config user.email '[email protected]'
@@ -54,7 +37,6 @@ jobs:
5437
--exclude bevy-ios-example
5538
5639
- name: Create PR
57-
if: steps.is-it-monday.outcome=='success'
5840
uses: peter-evans/create-pull-request@v3
5941
with:
6042
delete-branch: true

0 commit comments

Comments
 (0)