We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6675853 commit c0b829fCopy full SHA for c0b829f
.github/workflows/maven.yml
@@ -0,0 +1,28 @@
1
+name: build-artifact
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches: [ "main" ]
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v4
12
+ - name: Set up JDK
13
+ uses: actions/setup-java@v4
14
+ with:
15
+ java-version: '21'
16
+ distribution: 'temurin'
17
+ cache: maven
18
+ - name: Build with Maven
19
+ run: mvn -B clean package assembly:single --file pom.xml
20
+ - name: Release the artifact
21
+ uses: marvinpinto/action-automatic-releases@latest
22
23
+ repo_token: "${{ secrets.GITHUB_TOKEN }}"
24
+ automatic_release_tag: "latest"
25
+ prerelease: false
26
+ title: "Built from commit ${{ github.sha }}"
27
+ files: |
28
+ target/HTTPSignatures.jar
0 commit comments