-
-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.0' into community
- Loading branch information
Showing
28 changed files
with
1,204 additions
and
69 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 |
---|---|---|
|
@@ -16,15 +16,15 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: normal check out repo | ||
if: inputs.build-type != 'nightly' && inputs.build-type != 'beta' | ||
if: inputs.build-type != 'nightly' && inputs.build-type != 'rc' | ||
uses: actions/checkout@v3 | ||
- name: nightly check out repo | ||
if: inputs.build-type == 'nightly' | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: 'community' | ||
- name: beta check out repo | ||
if: inputs.build-type == 'beta' | ||
- name: rc check out repo | ||
if: inputs.build-type == 'rc' | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: 'release/1.0' | ||
|
@@ -82,19 +82,19 @@ jobs: | |
asset_name: deluge-nightly.zip # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash | ||
asset_content_type: application/zip # required by GitHub API | ||
max_releases: 30 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted | ||
- name: Create beta archive | ||
if: inputs.build-type == 'beta' | ||
- name: Create rc archive | ||
if: inputs.build-type == 'rc' | ||
run: | | ||
zip -j ./beta.zip build/Release/deluge*.bin | ||
- name: Deploy beta zip to releases | ||
if: inputs.build-type == 'beta' | ||
zip -j ./rc.zip build/Release/deluge*.bin | ||
- name: Deploy rc zip to releases | ||
if: inputs.build-type == 'rc' | ||
uses: WebFreak001/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # automatically provided by github actions | ||
with: | ||
upload_url: https://uploads.github.com/repos/SynthstromAudible/DelugeFirmware/releases/123368988/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: 123368988 # same as above (id can just be taken out the upload_url, it's used to find old releases) | ||
asset_path: ./beta.zip # path to archive to upload | ||
asset_name: deluge-beta.zip # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash | ||
asset_path: ./rc.zip # path to archive to upload | ||
asset_name: deluge-rc.zip # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash | ||
asset_content_type: application/zip # required by GitHub API | ||
max_releases: 30 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted |
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 |
---|---|---|
|
@@ -22,3 +22,4 @@ __pycache__ | |
/tests/RunAllTests | ||
/tests/_deps/* | ||
*.a | ||
*.jdebug.user |
Oops, something went wrong.