update github actions

This commit is contained in:
Irmen de Jong 2024-02-20 01:07:39 +01:00
parent a3fa946300
commit aba36f7c92

View File

@ -10,7 +10,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: build and install recent 64tass
run: |
@ -21,7 +21,7 @@ jobs:
sudo make install
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: 11
distribution: adopt
@ -30,7 +30,7 @@ jobs:
run: ./gradlew build shadowJar --no-daemon
- name: Create compiler shadowJar artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: prog8-compiler-jar-zipped
path: compiler/build/libs/*-all.jar
@ -40,7 +40,7 @@ jobs:
with:
hash-type: sha256
file-name: hashes.txt
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: "github.event_name == 'release'"
with:
name: Artifact Hashes