Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
milouk committed Sep 29, 2024
1 parent a7d799d commit 01818b1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true

jobs:
tests:
uses: ./.github/workflows/tests.yml
secrets: inherit
lint:
uses: ./.github/workflows/lint.yml
secrets: inherit
# jobs:
# lint:
# uses: ./.github/workflows/lint.yml
# secrets: inherit
21 changes: 15 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,27 @@ jobs:
build-release:
name: Build artifacts
runs-on: ubuntu-latest
container:
image: docker.io/batonogov/pyinstaller-linux:latest
steps:
- name: Check out the repo
uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
with:
platforms: arm64

- name: Build package
with:
image: docker.io/batonogov/pyinstaller-linux:latest
options: |
--platform linux/arm64
--volume ${{ github.workspace }}/:/src
run: |
pyinstaller --onefile /src/app.py
- name: Bundle App
run: |
echo "Creating Linux artifact"
apt-get update && apt-get install -y zip
pip install -r ./requirements.txt
pyinstaller --onefile ./src/app.py
mkdir -p .artie && \
cp -r ./dist/app ./assets ./config.json .artie
zip -r Artie.zip .artie ./Artie\ Scraper.sh
Expand Down

0 comments on commit 01818b1

Please sign in to comment.