Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Merge branch 'git-developer-fix-appimage' into python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryochan7 committed Nov 7, 2023
2 parents 87b7d88 + 83fb3f2 commit 383129b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Build and publish AppImages

env:
BASE_OS: ubuntu
BASE_CODENAME: jammy
APT_PUBKEY: 871920D1991BC93C

on:
Expand All @@ -22,6 +21,10 @@ jobs:
platform:
- linux/amd64
- linux/arm64
codename:
- jammy
- lunar
- mantic

steps:
- uses: actions/checkout@v4
Expand All @@ -41,7 +44,7 @@ jobs:
outputs: build
build-args: |
BASE_OS
BASE_CODENAME
BASE_CODENAME=${{ matrix.codename }}
- name: Prepare environment to build AppImage
env:
Expand All @@ -54,9 +57,9 @@ jobs:
rm build/.build-metadata.env
fi
APPIMAGE_SOURCE=build
APPIMAGE_VERSION="${GITHUB_REF_SLUG}"
APPIMAGE_VERSION="${GITHUB_REF_SLUG}-${{ matrix.codename }}"
APPIMAGE_APT_ARCH="${TARGETARCH}"
APPIMAGE_APT_DISTRO="${BASE_CODENAME}"
APPIMAGE_APT_DISTRO="${{ matrix.codename }}"
APPIMAGE_APT_PUBKEY="${APT_PUBKEY}"
APPIMAGE_ARCH="${TARGETMACHINE}"
printenv | grep ^APPIMAGE_ >>"${GITHUB_ENV}"
Expand Down
2 changes: 1 addition & 1 deletion AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ AppDir:

AppImage:
arch: "{{APPIMAGE_ARCH}}"
update-information: "gh-releases-zsync|Ryochan7|sc-controller|latest|sc-controller-*-{{APPIMAGE_ARCH}}.AppImage.zsync"
update-information: "gh-releases-zsync|Ryochan7|sc-controller|latest|sc-controller-*-{{APPIMAGE_APT_DISTRO}}-{{APPIMAGE_ARCH}}.AppImage.zsync"

0 comments on commit 383129b

Please sign in to comment.