Skip to content

Commit 284ac22

Browse files
authored
Update main.yml
1 parent 516e9af commit 284ac22

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,8 @@ jobs:
1414
PATH: ${{ github.workspace }}/graalvm-community-openjdk-17.0.9+9.1/bin:$PATH
1515

1616
steps:
17-
- name: Install tar (if necessary)
18-
run: apt-get update && apt-get install -y tar
19-
2017
- name: Check out code
21-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
2219

2320
- name: Set up JDK 17 from GraalVM
2421
run: |
@@ -34,7 +31,7 @@ jobs:
3431
run: ./gradlew clean fatJar nativeCompile
3532

3633
- name: Publish Jar to GitHub Packages
37-
uses: actions/upload-artifact@v2
34+
uses: actions/upload-artifact@v4
3835
with:
3936
name: codeanalyzer.jar
4037
path: build/libs/*.jar
@@ -52,7 +49,7 @@ jobs:
5249
prerelease: false
5350

5451
- name: Upload Release Asset
55-
uses: actions/upload-release-asset@v1
52+
uses: softprops/action-gh-release@v2
5653
env:
5754
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5855
with:

0 commit comments

Comments
 (0)