Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Commit

Permalink
ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
UtawareruDD committed Oct 14, 2020
1 parent de2996c commit 75a9911
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,8 @@ jobs:
run : ren LucaSystemTools/LucaSystemTools/bin/Release/netcoreapp3.1/ LucaSystemTool
- name: 7zip release
run : 7z a -t7z -mx=9 LucaSystemTool_release.7z ./LucaSystemTools/LucaSystemTools/bin/Release/LucaSystemTool # must have ., or zip the whole path
- name: create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
- uses: ncipollo/release-action@v1
with:
tag_name: ${{ github.ref }} # {{github.ref}} when pushing tag is tag name,else refs/heads/[branch]
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- This is auto build
- Second Change
draft: True
prerelease: True
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`.
asset_path: ./LucaSystemTool_release.7z
asset_name: LucaSystemTool_release.7z
asset_content_type: application/zip
artifacts: "LucaSystemTool_release.7z"
bodyFile: ""
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 75a9911

Please sign in to comment.