-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (33 loc) · 1003 Bytes
/
ant.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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/