Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dafik committed Nov 18, 2023
1 parent 3306c1d commit a4bf0eb
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,10 @@ jobs:
${{ runner.os }}-build-
${{ runner.os }}-
- name: Cache app target
id: cache-app
uses: actions/cache@v2
env:
cache-name: cache-app
- uses: actions/upload-artifact@v3
with:
# caching node_modules
name: app
path: app/target/*-dep.jar
key: ${{ runner.os }}-build-${{ env.cache-name }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- name: Set up JDK 17
uses: actions/setup-java@v3
Expand All @@ -75,6 +66,12 @@ jobs:
steps:
- uses: actions/checkout@v3

- uses: actions/download-artifact@v3
with:
name: app

- run: ls

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

Expand All @@ -89,7 +86,7 @@ jobs:

- name: Run Buildx
run: |
cp ./app/target/app-${{ github.ref_name }}-dep.jar ./docker/std/sbc2ha.jar
cp app-${{ github.ref_name }}-dep.jar ./docker/std/sbc2ha.jar
docker buildx build \
--platform linux/amd64,linux/arm/v7,linux/arm64 \
--output "type=image,push=false" \
Expand Down

0 comments on commit a4bf0eb

Please sign in to comment.