Improve installing Python 2

This commit is contained in:
Ben van Hartingsveldt 2025-09-16 17:09:14 +02:00
parent f91d037fda
commit 243154d0a2
No known key found for this signature in database
GPG key ID: 261AA214130CE7AB

View file

@ -49,12 +49,10 @@ jobs:
- uses: Homebrew/actions/setup-homebrew@master
if: startsWith(runner.os, 'mac')
# HACK part 2
- name: Install Python2
- uses: actions/setup-python@v6
if: startsWith(runner.os, 'mac')
run: |
/bin/bash -c "$(curl -fsSL https://github.com/alfredapp/dependency-scripts/raw/main/scripts/install-python2.sh)"
echo "PYTHON_PATH=/usr/local/bin/python" >> $GITHUB_ENV
with:
python-version: '2.6'
- name: Download blockchain headers
run: |
mkdir -p ./static/daemon
@ -111,15 +109,15 @@ jobs:
with:
name: Windows
path: ./dist/electron/*.*
- uses: jakejarvis/s3-sync-action@master
if: |
startsWith(runner.os, 'linux')
with:
args: --acl public-read --follow-symlinks --exclude '*' --include '*.deb' --include '*.AppImage' --include '*.dmg'
env:
AWS_S3_BUCKET: ${{ secrets.ARTIFACTS_BUCKET }}
AWS_ACCESS_KEY_ID: ${{ secrets.ARTIFACTS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.ARTIFACTS_SECRET }}
AWS_REGION: 'us-east-1'
SOURCE_DIR: 'dist/electron'
DEST_DIR: 'app/release'
#- uses: jakejarvis/s3-sync-action@master
# if: |
# startsWith(runner.os, 'linux')
# with:
# args: --acl public-read --follow-symlinks --exclude '*' --include '*.deb' --include '*.AppImage' --include '*.dmg'
# env:
# AWS_S3_BUCKET: ${{ secrets.ARTIFACTS_BUCKET }}
# AWS_ACCESS_KEY_ID: ${{ secrets.ARTIFACTS_KEY }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.ARTIFACTS_SECRET }}
# AWS_REGION: 'us-east-1'
# SOURCE_DIR: 'dist/electron'
# DEST_DIR: 'app/release'