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