Skip to content

Commit

Permalink
fixed builds on arm (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
xnetcat committed Dec 3, 2023
1 parent 680263b commit ce15467
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,21 +93,22 @@ jobs:
with:
arch: aarch64
distro: ubuntu_latest
githubToken: ${{ github.token }}

# Mount the artifacts directory as /artifacts in the container
dockerRunArgs: |
--volume "${PWD}/:/spotdl"
# The shell to run commands with in the container
shell: /bin/sh
install: |

run: |
cd /spotdl
apt update
apt install python3 python3-pip -y
pip install poetry
cd /spotdl
poetry install
run: |
cd /spotdl
rm -rf dist/
mkdir dist/
poetry run python ./scripts/build.py
for file in dist/spotdl*; do cp "$file" "${file}-aarch64"; done
Expand Down

0 comments on commit ce15467

Please sign in to comment.