Skip to content

Commit 9ff9021

Browse files
authored
Change the actions
As GitHub is changing it's Actions and it's output (noted here: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/) this needs to be changed as well.
1 parent fdca48a commit 9ff9021

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
distribution: adopt
6262

6363
- name: Build with Maven
64-
run: mvn --batch-mode --update-snapshots verify
64+
run: mvn -B package --file pom.xml
6565

6666
- name: Perform CodeQL Analysis
6767
uses: github/codeql-action/analyze@v2

.github/workflows/maven-deploy.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ jobs:
1616
server-id: cloudsmith
1717
server-username: MAVEN_USERNAME
1818
server-password: MAVEN_PASSWORD
19+
- name: Build with Maven
20+
run: mvn -B package --file pom.xml
1921
- name: Publish package
20-
run: mvn --batch-mode deploy
22+
run: mvn deploy
2123
env:
2224
MAVEN_USERNAME: ${{ secrets.CLOUDSMITH_USERNAME }}
2325
MAVEN_PASSWORD: ${{ secrets.CLOUDSMITH_TOKEN }}

.github/workflows/maven.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
java-version: '16'
2727
distribution: adopt
2828
- name: Build with Maven
29-
run: mvn --batch-mode --update-snapshots verify
29+
run: mvn -B package --file pom.xml
3030
- name: Create necessary directories
3131
run: mkdir staging && cp target/*.jar staging
3232
- name: Upload artifact

0 commit comments

Comments
 (0)