Skip to content

Commit

Permalink
CI: Update AppImage build workflow to avoid using actions/checkout.
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosperate committed Dec 12, 2024
1 parent c9025d8 commit b9c06f0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,15 @@ jobs:
build-linux:
runs-on: ubuntu-20.04
container:
image: ghcr.io/mu-editor/mu-appimage:2022.05.01
image: ghcr.io/mu-editor/mu-appimage:2024.12.02
name: Build AppImage
steps:
- uses: actions/checkout@v4
- name: Display system info
run: |
uname -a
cat /etc/lsb-release
cat /etc/os-release
ldd --version
python -c "import sys; print(sys.version)"
python -c "import platform, struct; print(platform.machine(), struct.calcsize('P') * 8)"
python -c "import sys; print(sys.executable)"
Expand All @@ -72,9 +73,8 @@ jobs:
run: |
pip install .[tests]
pip list
- run: mkdir upload
- name: Build Linux AppImage
run: xvfb-run make linux
run: QT_QPA_PLATFORM=offscreen make linux
# GitHub actions upload artifact breaks permissions, workaround using tar
# https://github.com/actions/upload-artifact/issues/38
- name: Tar AppImage to maintain permissions
Expand All @@ -83,7 +83,7 @@ jobs:
tar -cvf Mu_Editor-AppImage-x86_64-${{ github.sha }}.tar *.AppImage
ls -la .
- name: Upload Mu AppImage
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: mu-editor-${{ runner.os }}-${{ github.sha }}
path: dist/Mu_Editor-AppImage-x86_64-${{ github.sha }}.tar

0 comments on commit b9c06f0

Please sign in to comment.