RSK PowPeg Arrowhead 6.2.0.0 #466
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Reproducible build | |
on: | |
release: | |
type: | |
- created | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
container: | |
image: openjdk@sha256:335627a2118556b3f412287e08ac7febb8ecc46325dc6b3570db56f32d33938f | |
steps: | |
- name: Install packages | |
run: | | |
apt-get update -y && apt-get install -y git curl gnupg | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set version | |
id: vars | |
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} | |
- name: Download Release key | |
run: | | |
gpg --keyserver https://secchannel.rsk.co/SUPPORT.asc --recv-keys 1DC9157991323D23FD37BAA7A6DBEAC640C5A14B | |
- name: Verify files integrity | |
run: | | |
gpg --verify --output SHA256SUMS SHA256SUMS.asc && sha256sum --check SHA256SUMS | |
- name: Build powpeg-node | |
run: | | |
./configure.sh && ./gradlew --no-daemon clean build -x test | |
- name: Calculate hashes | |
working-directory: build/libs | |
run: | | |
sha256sum * > SHA256SUMS | |
- name: Print hashes | |
run: | | |
cat build/libs/SHA256SUMS | |
- name: Export artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ steps.vars.outputs.tag }} | |
path: build/libs/ |