vendor: bump from cp312 to cp313, update deps #264
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and deploy | |
on: | |
push: {} | |
jobs: | |
build: | |
name: Build | |
strategy: | |
matrix: | |
include: | |
- arch: aarch64 | |
runs-on: ubuntu-24.04-arm | |
bundle: "" | |
- arch: x86_64 | |
runs-on: ubuntu-24.04 | |
bundle: "" | |
- arch: aarch64 | |
runs-on: ubuntu-24.04-arm | |
bundle: ffmpeg | |
- arch: x86_64 | |
runs-on: ubuntu-24.04 | |
bundle: ffmpeg | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
run: | | |
python -m pip install -U --upgrade-strategy=eager -r requirements.txt | |
- name: appimage | |
run: | | |
SOURCE_DATE_EPOCH=$(git show -s --format=%ct) ./build.sh --bundle=${{ matrix.bundle }} | |
- name: Get file name | |
id: vars | |
run: | | |
echo "file_name=$(cd dist && ls *.*)" >> $GITHUB_OUTPUT | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: ${{ steps.vars.outputs.file_name }} | |
path: dist/*.AppImage | |
deploy: | |
name: Deploy | |
needs: | |
- build | |
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- run: mkdir -p dist | |
- uses: actions/download-artifact@v4 | |
with: | |
path: dist | |
- run: ./deploy.sh dist/**/*.AppImage | |
env: | |
RELEASES_API_KEY: ${{ secrets.GITHUB_TOKEN }} |