-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Configure python 2.7 to so runner is compatible with electron build
- Loading branch information
Ron de las Alas
committed
Nov 27, 2023
1 parent
6adafd7
commit 4d15309
Showing
3 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,7 +49,13 @@ jobs: | |
run: npm ci | ||
- name: Test | ||
run: npm run test | ||
- name: Install Python 2.7 | ||
if: matrix.os == 'macos-latest' | ||
run: | | ||
brew install pyenv | ||
pyenv install 2.7.18 | ||
- name: Setup Keys for Fastlane | ||
if: matrix.os == 'macos-latest' | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.FASTLANE_DEPLOY_KEY }} | ||
|
@@ -65,6 +71,7 @@ jobs: | |
# macOS CSC info was set by Fastlane above | ||
WIN_CSC_LINK: ${{ secrets.WIN_CSC_LINK }} | ||
WIN_CSC_KEY_PASSWORD: ${{ secrets.WIN_CSC_KEY_PASSWORD }} | ||
PYTHON_PATH: /Users/runner/.pyenv/versions/2.7.18/bin/python | ||
run: npm run ${{ vars.SCRATCH_SHOULD_SIGN && 'dist' || 'distDev' }} | ||
- name: Zip MAS-Dev build | ||
if: matrix.os == 'macos-latest' | ||
|
@@ -74,7 +81,7 @@ jobs: | |
ditto -v -c -k --sequesterRsrc --keepParent --zlibCompressionLevel 9 \ | ||
Scratch*.app ../mas-dev-${NPM_APP_VERSION}.zip | ||
- name: Upload macOS artifacts | ||
uses: actions/upload-artifact@v2 | ||
uses: actions/upload-artifact@v3 | ||
if: matrix.os == 'macos-latest' | ||
with: | ||
name: macOS | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://[email protected]/LLK/scratch-desktop.git" | ||
"url": "git+ssh://[email protected]/scratchfoundation/scratch-desktop.git" | ||
}, | ||
"dependencies": { | ||
"source-map-support": "^0.5.19" | ||
|
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