another way to hash?

This commit is contained in:
Irmen de Jong 2024-03-21 21:30:34 +01:00
parent 47dbafacd4
commit 443391c700
2 changed files with 9 additions and 24 deletions

View File

@ -12,13 +12,8 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: build and install recent 64tass - name: install 64tass
run: | run: sudo apt-get install 64tass
sudo apt-get install -y make build-essential
git clone --depth=1 https://github.com/irmen/64tass
cd 64tass
make -j4
sudo make install
- name: Set up JDK 11 - name: Set up JDK 11
uses: actions/setup-java@v4 uses: actions/setup-java@v4
@ -27,25 +22,15 @@ jobs:
distribution: adopt distribution: adopt
- name: Build and test with Gradle - name: Build and test with Gradle
run: ./gradlew build shadowJar --no-daemon run: |
./gradlew build shadowJar --no-daemon
sha256sum -b compiler/build/libs/*-all.jar > compiler/build/libs/hash.txt
- name: Create compiler shadowJar artifact - name: Create compiler shadowJar artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: prog8-compiler-jar-zipped name: prog8-compiler-jar-zipped
path: compiler/build/libs/*-all.jar path: |
compiler/build/libs/*-all.jar
compiler/build/libs/hash.txt
- name: Calculate hash
uses: MCJack123/ghaction-generate-release-hashes@v4
if: github.event_name == 'release'
with:
get-assets: true
hash-type: sha256
file-name: hashes.txt
- name: Upload hashes
uses: actions/upload-artifact@v4
if: github.event_name == 'release'
with:
name: Artifact Hashes
path: hashes.txt

View File

@ -5,4 +5,4 @@ org.gradle.daemon=true
kotlin.code.style=official kotlin.code.style=official
javaVersion=11 javaVersion=11
kotlinVersion=1.9.22 kotlinVersion=1.9.22
version=10.2.1 version=10.3-SNAPSHOT