Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
JerwuQu authored Apr 8, 2021
1 parent 1ca8882 commit a78856f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,23 @@ jobs:
with:
name: wlines
path: wlines.exe
- name: Create Pre-release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ci-${{ github.sha }}
release_name: CI build
draft: false
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 }}
asset_path: wlines.exe
asset_name: wlines.exe
asset_content_type: application/octet-stream

0 comments on commit a78856f

Please sign in to comment.