Skip to content

Commit 13b32cc

Browse files
committed
Update publish workflow
There were some recent updates to the [action](https://github.com/actions/setup-java) we use to publish the library. These updates could have a potential impact on our workflow. This also includes the ability to manually run the publish workflow using a `workflow_dispatch` command.
1 parent d00b408 commit 13b32cc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,16 @@ on:
55
branches: [master]
66
repository_dispatch:
77
types: [publish_sdk]
8+
workflow_dispatch:
89

910
jobs:
1011
Publish:
1112
runs-on: ubuntu-latest
1213

1314
steps:
14-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1516
- name: Set up JDK 11
16-
uses: actions/setup-java@v3
17+
uses: actions/setup-java@v4
1718
with:
1819
distribution: 'temurin'
1920
java-version: '11'
@@ -22,7 +23,7 @@ jobs:
2223
run: mvn -B package --file pom.xml
2324

2425
- name: Set up Apache Maven Central
25-
uses: actions/setup-java@v3
26+
uses: actions/setup-java@v4
2627
with:
2728
distribution: 'temurin'
2829
java-version: '11'

0 commit comments

Comments
 (0)