Skip to content

Commit 497d7e5

Browse files
committed
WIP: fixup the workflow
1 parent 9b3d3ba commit 497d7e5

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
dry_run:
1111
description: "Run in dry-run mode (no publish)"
1212
required: false
13-
default: "false"
13+
default: "true"
1414

1515
jobs:
1616
release:
@@ -23,22 +23,18 @@ jobs:
2323
contents: write
2424
issues: write
2525
pull-requests: write
26-
if: >-
27-
((github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'master') || github.event_name == 'workflow_dispatch')
26+
if: github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'master')
2827
steps:
29-
- uses: actions/checkout@v4
30-
- uses: actions/setup-java@v4
28+
- uses: actions/checkout@v5
29+
- uses: actions/setup-java@v5
3130
with:
3231
java-version: "17"
3332
distribution: "temurin"
3433
cache: gradle
35-
- name: Setup Gradle
36-
uses: gradle/actions/setup-gradle@v4
3734
- name: Setup node
38-
uses: actions/setup-node@v4
35+
uses: actions/setup-node@v6
3936
with:
4037
node-version: "20"
41-
cache: "npm"
4238
- name: Install semantic-release
4339
shell: bash
4440
run: |

0 commit comments

Comments
 (0)