-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix PR Pipeline and Update github actions versions (#670)
* Update deprecated actions calls * checkout with lfs * Run a clean install * use a regular npm install * include python install * Fix deprecated setup-python and upload-artifact calls * Upload mac build as an artifact in pr * Update upload artifact action (#2)
- Loading branch information
1 parent
31a2a40
commit be02346
Showing
3 changed files
with
26 additions
and
13 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
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
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 |
---|---|---|
|
@@ -19,10 +19,15 @@ jobs: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
|
||
- name: Setup Python environment | ||
uses: actions/[email protected] | ||
with: | ||
python-version: '3.10' | ||
|
||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v3 | ||
uses: actions/setup-node@v4.0.2 | ||
with: | ||
node-version: 22.2.0 | ||
check-latest: true | ||
|
@@ -51,18 +56,26 @@ jobs: | |
run: npm run build:mac -- --publish=never | ||
|
||
- name: Upload Artifacts Windows | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4.3.3 | ||
if: ${{ matrix.os == 'windows-latest' }} | ||
with: | ||
name: srm-build-windows | ||
path: | | ||
release/*.exe | ||
release/*.msi | ||
- name: Upload Artifacts Linux | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4.3.3 | ||
if: ${{ matrix.os == 'ubuntu-latest' }} | ||
with: | ||
name: srm-build-linux | ||
path: | | ||
release/*.deb | ||
release/*.AppImage | ||
- name: Upload Artifacts Mac | ||
uses: actions/[email protected] | ||
if: ${{ matrix.os == 'macOS-latest' }} | ||
with: | ||
name: srm-build-mac | ||
path: | | ||
release/*.dmg | ||
release/*.zip |