mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-29 16:39:37 +00:00
Switch back to ubuntu-20.04 runners, fix AppImage builder exec
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -79,7 +79,7 @@ jobs:
|
||||
|
||||
linux-pyinstaller:
|
||||
name: Linux (PyInstaller)
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -156,7 +156,7 @@ jobs:
|
||||
|
||||
linux-appimage:
|
||||
name: Linux (AppImage)
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
@@ -191,7 +191,7 @@ jobs:
|
||||
- name: Create AppImage
|
||||
env:
|
||||
APPIMAGE_EXTRACT_AND_RUN: 1
|
||||
APP_VERSION: ${{ steps.vars.outputs.app_version }}.${{ steps.vars.outputs.sha_short }}
|
||||
APP_VERSION: ${{steps.vars.outputs.app_version}}.${{steps.vars.outputs.sha_short}}
|
||||
run: |
|
||||
./appimage-builder --recipe appimage/AppImageBuilder.yml
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ script:
|
||||
- cp -r "$SOURCE_DIR/../lang" "$SOURCE_DIR/../pickaxe.ico" "$SOURCE_DIR"/../*.py "$TARGET_APPDIR/usr/src"
|
||||
- cp "$SOURCE_DIR/pickaxe.png" "$TARGET_APPDIR/usr/share/icons/hicolor/128x128/apps/io.github.devilxd.twitchdropsminer.png"
|
||||
|
||||
# Remove certifi from the line below if using Python 3.10+.
|
||||
# Install requirements.
|
||||
- python3 -m pip install --ignore-installed --prefix=/usr --root="$TARGET_APPDIR" -r "$SOURCE_DIR/../requirements.txt"
|
||||
|
||||
AppDir:
|
||||
@@ -31,7 +31,7 @@ AppDir:
|
||||
name: Twitch Drops Miner
|
||||
icon: io.github.devilxd.twitchdropsminer
|
||||
version: '{{APP_VERSION}}'
|
||||
exec: usr/bin/python3
|
||||
exec: usr/bin/python${{env.PYTHON_VERSION}}
|
||||
exec_args: '${APPDIR}/usr/src/main.py $@'
|
||||
|
||||
apt:
|
||||
|
||||
Reference in New Issue
Block a user