-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0a3d1bc
commit d38d522
Showing
1 changed file
with
20 additions
and
0 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 |
---|---|---|
|
@@ -105,3 +105,23 @@ jobs: | |
asset_path: ./target/release/gccl.exe | ||
asset_name: gccl-${{ matrix.release_suffix }}.exe | ||
asset_content_type: application/zip # required by GitHub API | ||
|
||
- name: Publish App for Mac & Linux | ||
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest' | ||
uses: WebFreak001/[email protected] | ||
with: | ||
upload_url: https://uploads.github.com/repos/gamercade-io/gamercade_console/releases/73475292/assets{?name,label} # find out this value by opening https://api.github.com/repos/<owner>/<repo>/releases in your browser and copy the full "upload_url" value including the {?name,label} part | ||
release_id: 73475292 # same as above (id can just be taken out the upload_url, it's used to find old releases) | ||
asset_path: ./target/release/app | ||
asset_name: gamercade_app-${{ matrix.release_suffix }} | ||
asset_content_type: application/zip # required by GitHub API | ||
|
||
- name: Publish App for Windows | ||
if: matrix.os == 'windows-latest' | ||
uses: WebFreak001/[email protected] | ||
with: | ||
upload_url: https://uploads.github.com/repos/gamercade-io/gamercade_console/releases/73475292/assets{?name,label} # find out this value by opening https://api.github.com/repos/<owner>/<repo>/releases in your browser and copy the full "upload_url" value including the {?name,label} part | ||
release_id: 73475292 # same as above (id can just be taken out the upload_url, it's used to find old releases) | ||
asset_path: ./target/release/app.exe | ||
asset_name: gamercade_app-${{ matrix.release_suffix }}.exe | ||
asset_content_type: application/zip # required by GitHub API |