Skip to content

Commit 243154d

Browse files
committed
Improve installing Python 2
1 parent f91d037 commit 243154d

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

.github/workflows/deploy.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,10 @@ jobs:
4949
- uses: Homebrew/actions/setup-homebrew@master
5050
if: startsWith(runner.os, 'mac')
5151
# HACK part 2
52-
- name: Install Python2
52+
- uses: actions/setup-python@v6
5353
if: startsWith(runner.os, 'mac')
54-
run: |
55-
/bin/bash -c "$(curl -fsSL https://github.com/alfredapp/dependency-scripts/raw/main/scripts/install-python2.sh)"
56-
echo "PYTHON_PATH=/usr/local/bin/python" >> $GITHUB_ENV
57-
54+
with:
55+
python-version: '2.6'
5856
- name: Download blockchain headers
5957
run: |
6058
mkdir -p ./static/daemon
@@ -111,15 +109,15 @@ jobs:
111109
with:
112110
name: Windows
113111
path: ./dist/electron/*.*
114-
- uses: jakejarvis/s3-sync-action@master
115-
if: |
116-
startsWith(runner.os, 'linux')
117-
with:
118-
args: --acl public-read --follow-symlinks --exclude '*' --include '*.deb' --include '*.AppImage' --include '*.dmg'
119-
env:
120-
AWS_S3_BUCKET: ${{ secrets.ARTIFACTS_BUCKET }}
121-
AWS_ACCESS_KEY_ID: ${{ secrets.ARTIFACTS_KEY }}
122-
AWS_SECRET_ACCESS_KEY: ${{ secrets.ARTIFACTS_SECRET }}
123-
AWS_REGION: 'us-east-1'
124-
SOURCE_DIR: 'dist/electron'
125-
DEST_DIR: 'app/release'
112+
#- uses: jakejarvis/s3-sync-action@master
113+
# if: |
114+
# startsWith(runner.os, 'linux')
115+
# with:
116+
# args: --acl public-read --follow-symlinks --exclude '*' --include '*.deb' --include '*.AppImage' --include '*.dmg'
117+
# env:
118+
# AWS_S3_BUCKET: ${{ secrets.ARTIFACTS_BUCKET }}
119+
# AWS_ACCESS_KEY_ID: ${{ secrets.ARTIFACTS_KEY }}
120+
# AWS_SECRET_ACCESS_KEY: ${{ secrets.ARTIFACTS_SECRET }}
121+
# AWS_REGION: 'us-east-1'
122+
# SOURCE_DIR: 'dist/electron'
123+
# DEST_DIR: 'app/release'

0 commit comments

Comments
 (0)