mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
upgrade and fix action
This commit is contained in:
parent
c572011578
commit
7d796369d6
1 changed files with 2 additions and 8 deletions
10
.github/workflows/package.yaml
vendored
10
.github/workflows/package.yaml
vendored
|
@ -19,12 +19,6 @@ jobs:
|
||||||
java-version: '18.0.1'
|
java-version: '18.0.1'
|
||||||
- name: Show Build Versions
|
- name: Show Build Versions
|
||||||
run: ./gradlew -v
|
run: ./gradlew -v
|
||||||
- name: Cache Gradle packages
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: ~/.gradle/caches
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
|
|
||||||
restore-keys: ${{ runner.os }}-gradle
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew jpackage
|
run: ./gradlew jpackage
|
||||||
- name: Package zip distribution
|
- name: Package zip distribution
|
||||||
|
@ -48,10 +42,10 @@ jobs:
|
||||||
run: ./gradlew -Djava.awt.headless=true packageTarDistribution
|
run: ./gradlew -Djava.awt.headless=true packageTarDistribution
|
||||||
- name: Rename Headless Artifacts
|
- name: Rename Headless Artifacts
|
||||||
if: ${{ runner.os == 'Linux' }}
|
if: ${{ runner.os == 'Linux' }}
|
||||||
run: rename 's/sparrow/sparrow-server/g' build/jpackage/*
|
run: for f in build/jpackage/sparrow*; do mv -v "$f" "${f/sparrow/sparrow-server}"; done;
|
||||||
- name: Upload Headless Artifact
|
- name: Upload Headless Artifact
|
||||||
if: ${{ runner.os == 'Linux' }}
|
if: ${{ runner.os == 'Linux' }}
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: Sparrow Build - ${{ runner.os }} Headless
|
name: Sparrow Build - ${{ runner.os }} Headless
|
||||||
path: |
|
path: |
|
||||||
|
|
Loading…
Reference in a new issue