Skip to content

Commit

Permalink
One more time
Browse files Browse the repository at this point in the history
  • Loading branch information
wokhan authored Mar 16, 2020
1 parent 4ab2470 commit 29e2c61
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/dotnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
- name: Publish win-x64
run: dotnet publish
- name: Zip published files
run: zip -r ./bin/netcoreapp3.1/publish.zip ./bin/netcoreapp3.1/publish
run: zip -r ./bin/netcoreapp3.1/package ./bin/netcoreapp3.1/publish
- name: Deploy nightly
uses: WebFreak001/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # automatically provided by github actions
with:
upload_url: https://uploads.github.com/repos/wokhansoft/WFN/releases/9924091/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: 9924091 # same as above (id can just be taken out the upload_url, it's used to find old releases)
asset_path: ./bin/netcoreapp3.1/publish.zip # path to archive to upload
asset_name: wfn-nightly-notest-$$.zip # name to upload the release as, use $$ to insert date (YYYYMMDD) and 6 letter commit hash
asset_path: ./bin/netcoreapp3.1/package.zip # path to archive to upload
asset_name: wfn-nightly-no-test-$$.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: 7 # optional, if there are more releases than this matching the asset_name, the oldest ones are going to be deleted

0 comments on commit 29e2c61

Please sign in to comment.