Skip to content

Commit 3955bf4

Browse files
committed
✨ Create new script to build and deploy the entire project
1 parent 8af04f6 commit 3955bf4

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Just builds the starter
2+
name: Build and Deploy All Artifacts
3+
4+
on:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- uses: actions/checkout@v6
13+
- name: Set up JDK 21
14+
uses: actions/setup-java@v5
15+
with:
16+
distribution: 'oracle'
17+
java-version: '21'
18+
cache: 'maven'
19+
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
20+
settings-path: ${{ github.workspace }} # location for the settings.xml file
21+
22+
- name: Publish Starter to GitHub Packages Apache Maven
23+
run: mvn -B deploy -s $GITHUB_WORKSPACE/settings.xml
24+
env:
25+
GITHUB_TOKEN: ${{ github.token }}
26+

0 commit comments

Comments
 (0)