-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update workflows because Node.js 16 actions are deprecated
- Loading branch information
Showing
3 changed files
with
25 additions
and
28 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 |
---|---|---|
|
@@ -9,21 +9,20 @@ jobs: | |
steps: | ||
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- run: cd ${{ github.workspace }} | ||
|
||
- uses: ./.github/run-tests | ||
|
||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: dist/build-engine-randomizer.exe | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: dist/build-engine-randomizer.exe | ||
asset_name: build-engine-randomizer.exe | ||
asset_content_type: application/octet-stream | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
|
||
Linux-Release: | ||
runs-on: ubuntu-latest | ||
|
@@ -34,7 +33,7 @@ jobs: | |
steps: | ||
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- run: cd ${{ github.workspace }} | ||
|
||
- run: sudo apt-get update -y | ||
|
@@ -44,14 +43,13 @@ jobs: | |
|
||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: dist/build-engine-randomizer | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: dist/build-engine-randomizer | ||
asset_name: build-engine-randomizer-linux | ||
asset_content_type: application/octet-stream | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
|
||
MacOS-Release: | ||
runs-on: macos-latest | ||
|
@@ -62,7 +60,7 @@ jobs: | |
steps: | ||
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." | ||
- name: Check out repository code | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
- run: cd ${{ github.workspace }} | ||
|
||
- run: brew install python-tk | ||
|
@@ -71,11 +69,10 @@ jobs: | |
|
||
- name: Upload Release Asset | ||
id: upload-release-asset | ||
uses: actions/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
asset_path: dist/build-engine-randomizer | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: dist/build-engine-randomizer | ||
asset_name: build-engine-randomizer-macos | ||
asset_content_type: application/octet-stream | ||
tag: ${{ github.ref }} | ||
overwrite: true |