-
-
Notifications
You must be signed in to change notification settings - Fork 4
32 lines (32 loc) · 1.06 KB
/
pushes.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
name: Latest Build
on:
push:
branches: [master]
jobs:
tests:
uses: inkapplications/.github/.github/workflows/[email protected]
build:
needs: [tests]
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/[email protected]
-
name: Assemble
run: ./gradlew assembleDist
-
name: Prepare Archives
run: cp cli/build/distributions/shade-*.zip cli/build/distributions/shade.zip && cp cli/build/distributions/shade-*.tar cli/build/distributions/shade.tar
-
name: Archive CLI Tar
uses: actions/[email protected]
with:
name: shade.tar
path: cli/build/distributions/shade.tar
-
name: Archive CLI Zip
uses: actions/[email protected]
with:
name: shade.zip
path: cli/build/distributions/shade.zip