Build Satochip DIY Applets #26
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
# This workflow will build a Java project with Ant | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-ant | |
name: Build Satochip DIY Applets | |
on: | |
schedule: | |
- cron: "0 0 1 * *" | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'true' | |
- name: Set up JDK 8 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: '8' | |
distribution: 'temurin' | |
- name: Build with Ant | |
run: ant | |
- name: Generate Checksums (Echo to log) | |
run: find ./build/ -type f -exec sha256sum {} \; | |
- name: Generate Checksums (For Artifacts) | |
run: find ./build/ -type f -exec sha256sum {} \; > ./build/sha256sums.txt | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: Satochip-DIY-Applets | |
path: ./build/ | |