Skip to content

Commit

Permalink
update GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Coxall authored Jan 9, 2024
1 parent 28bc300 commit c33cf61
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ jobs:
cp plugin/packer-builder-arm .
sudo packer build raspios-desktop-arm64.json | tee build.log || true
grep "::BUILD::SUCCESS" build.log
test -f raspios-desktop-arm64-2022-04-04-arm64.img
zip raspios-desktop-arm64-2022-04-04-arm64.img.zip raspios-desktop-arm64-2022-04-04-arm64.img
test -f raspios-desktop-arm64-2023-12-06-arm64.img
zip raspios-desktop-arm64-2023-12-06-arm64.img.zip raspios-desktop-arm64-2023-12-06-arm64.img
- name: Upload release asset
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload --clobber ${{github.ref}} raspios-desktop-arm64-2022-04-04-arm64.img.zip
run: gh release upload --clobber ${{github.ref}} raspios-desktop-arm64-2023-12-06-arm64.img.zip
build-raspios-desktop-armhf:
needs: create-release
runs-on: ubuntu-latest
Expand All @@ -85,12 +85,12 @@ jobs:
cp plugin/packer-builder-arm .
sudo packer build raspios-desktop-armhf.json | tee build.log || true
grep "::BUILD::SUCCESS" build.log
test -f raspios-desktop-armhf-2022-04-04-armhf.img
zip raspios-desktop-armhf-2022-04-04-armhf.img.zip raspios-desktop-armhf-2022-04-04-armhf.img
test -f raspios-desktop-armhf-2023-12-06-armhf.img
zip raspios-desktop-armhf-2023-12-06-armhf.img.zip raspios-desktop-armhf-2023-12-06-armhf.img
- name: Upload release asset
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload --clobber ${{github.ref}} raspios-desktop-armhf-2022-04-04-armhf.img.zip
run: gh release upload --clobber ${{github.ref}} raspios-desktop-armhf-2023-12-06-armhf.img.zip
build-raspios-lite-arm64:
needs: create-release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -149,12 +149,12 @@ jobs:
cp plugin/packer-builder-arm .
sudo packer build raspios-lite-armhf.json | tee build.log || true
grep "::BUILD::SUCCESS" build.log
test -f raspios-lite-armhf-2022-04-04-armhf.img
zip raspios-lite-armhf-2022-04-04-armhf.img.zip raspios-lite-armhf-2022-04-04-armhf.img
test -f raspios-lite-armhf-2023-12-11-armhf.img
zip raspios-lite-armhf-2023-12-11-armhf.img.zip raspios-lite-armhf-2023-12-11-armhf.img
- name: Upload release asset
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload --clobber ${{github.ref}} raspios-lite-armhf-2022-04-04-armhf.img.zip
run: gh release upload --clobber ${{github.ref}} raspios-lite-armhf-2023-12-11-armhf.img.zip
build-ubuntu-server-arm64:
needs: create-release
runs-on: ubuntu-latest
Expand All @@ -181,12 +181,12 @@ jobs:
cp plugin/packer-builder-arm .
sudo packer build ubuntu-server-arm64.json | tee build.log || true
grep "::BUILD::SUCCESS" build.log
test -f ubuntu-server-arm64-22.04-arm64.img
zip ubuntu-server-arm64-22.04-arm64.img.zip ubuntu-server-arm64-22.04-arm64.img
test -f ubuntu-server-arm64-22.04.3-arm64.img
zip ubuntu-server-arm64-22.04.3-arm64.img.zip ubuntu-server-arm64-22.04.3-arm64.img
- name: Upload release asset
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload --clobber ${{github.ref}} ubuntu-server-arm64-22.04-arm64.img.zip
run: gh release upload --clobber ${{github.ref}} ubuntu-server-arm64-22.04.3-arm64.img.zip
build-ubuntu-server-armhf:
needs: create-release
runs-on: ubuntu-latest
Expand All @@ -213,9 +213,9 @@ jobs:
cp plugin/packer-builder-arm .
sudo packer build ubuntu-server-armhf.json | tee build.log || true
grep "::BUILD::SUCCESS" build.log
test -f ubuntu-server-armhf-22.04-armhf.img
zip ubuntu-server-armhf-22.04-armhf.img.zip ubuntu-server-armhf-22.04-armhf.img
test -f ubuntu-server-armhf-22.04.3-armhf.img
zip ubuntu-server-armhf-22.04.3-armhf.img.zip ubuntu-server-armhf-22.04.3-armhf.img
- name: Upload release asset
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload --clobber ${{github.ref}} ubuntu-server-armhf-22.04-armhf.img.zip
run: gh release upload --clobber ${{github.ref}} ubuntu-server-armhf-22.04.3-armhf.img.zip

0 comments on commit c33cf61

Please sign in to comment.