Skip to content

Commit 1991113

Browse files
committed
build: ci - add workflow dispatch + change branch to main
1 parent c6d51fe commit 1991113

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ name: Java CI with Gradle
55

66
on:
77
push:
8-
branches: [ "master" ]
8+
branches: [ "main" ]
99
pull_request:
10-
branches: [ "master" ]
10+
branches: [ "main" ]
11+
workflow_dispatch:
1112

1213
jobs:
1314
build:
@@ -17,7 +18,7 @@ jobs:
1718
contents: read
1819

1920
steps:
20-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@v6
2122
with:
2223
fetch-depth: 0 # full history
2324
fetch-tags: true # grab your tags
@@ -33,12 +34,12 @@ jobs:
3334
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
3435
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
3536
- name: Setup Gradle
36-
uses: gradle/actions/setup-gradle@v4
37+
uses: gradle/actions/setup-gradle@v5
3738

3839
- name: Build with Gradle Wrapper
3940
run: ./gradlew clean build
4041

41-
- uses: actions/upload-artifact@v4
42+
- uses: actions/upload-artifact@v6
4243
with:
4344
name: Staging-Build
4445
path: build/libs

0 commit comments

Comments
 (0)