mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
osx github action initial commit
This commit is contained in:
parent
c2fb6bcfee
commit
ee22d4a81d
1 changed files with 27 additions and 0 deletions
27
.github/workflows/package-osx.yaml
vendored
Normal file
27
.github/workflows/package-osx.yaml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
name: OSX Package
|
||||||
|
|
||||||
|
on: [workflow-dispatch]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: macos-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 14.0.1
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 14.0.1
|
||||||
|
- name: Cache Gradle packages
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.gradle/caches
|
||||||
|
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
||||||
|
restore-keys: ${{ runner.os }}-gradle
|
||||||
|
- name: Build with Gradle
|
||||||
|
run: ./gradlew jpackage
|
||||||
|
- name: Upload Artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: Sparrow OSX Build
|
||||||
|
path: build/jpackage/*
|
Loading…
Reference in a new issue