forked from AlloyTools/org.alloytools.alloy
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 968 Bytes
/
snapshot.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
name: snapshot
on:
push:
branches: ["master"]
env:
LC_ALL: en_US.UTF-8
REPOSITORY_USERNAME: ${{ secrets.REPOSITORY_USERNAME }}
REPOSITORY_PASSWORD: ${{ secrets.REPOSITORY_PASSWORD }}
jobs:
build:
name: build on OpenJDK Linux
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- shell: bash
run: ./gradlew --parallel release
- shell: bash
run: cd org.alloytools.alloy.dist;./macos
- if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: test-reports
path: '*/target/reports/'
- uses: softprops/action-gh-release@v2
with:
prerelease: true
draft: true
files: |
org.alloytools.alloy.dist/target/*.jar
org.alloytools.alloy.dist/target/*.dmg
*/target/reports