Skip to content

Commit

Permalink
Merge branch 'feature/ci'
Browse files Browse the repository at this point in the history
  • Loading branch information
git-developer committed Apr 25, 2024
2 parents cbef5ef + e3d59db commit 66f4b49
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
strategy:
fail-fast: true
matrix:
platform:
- linux/amd64
- linux/arm64
architecture:
- amd64
- arm64
codename:
- jammy
- lunar
Expand All @@ -31,23 +31,23 @@ jobs:

- name: Setup qemu for docker
uses: docker/setup-qemu-action@v2
if: matrix.platform != 'linux/amd64'
if: matrix.architecture != 'amd64'

- name: Setup buildx for docker
uses: docker/setup-buildx-action@v3

- name: Compile in docker
uses: docker/build-push-action@v5
with:
platforms: ${{ matrix.platform }}
platforms: linux/${{ matrix.architecture }}
outputs: build
build-args: |
BASE_OS
BASE_CODENAME=${{ matrix.codename }}
- name: Prepare environment to build AppImage
env:
TARGET_PLATFORM: ${{ matrix.platform }}
TARGET_PLATFORM: linux/${{ matrix.architecture }}
shell: bash
run: |
set -eua
Expand All @@ -69,7 +69,7 @@ jobs:
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: appimage-${{ matrix.codename }}-${{ matrix.platform }}
name: appimage-${{ matrix.codename }}-${{ matrix.architecture }}
path: |
./*.AppImage
./*.AppImage.zsync
Expand Down

0 comments on commit 66f4b49

Please sign in to comment.