mirror of
https://github.com/Ed94/refactor.git
synced 2024-12-21 22:44:45 -08:00
Attempting to use avakar's release action
This commit is contained in:
parent
b05ee03609
commit
03f5441b25
57
.github/workflows/main.yml
vendored
57
.github/workflows/main.yml
vendored
@ -111,40 +111,31 @@ jobs:
|
|||||||
name: artifact
|
name: artifact
|
||||||
path: ./artifact
|
path: ./artifact
|
||||||
|
|
||||||
# - name: Extract artifact
|
- name: Extract artifact
|
||||||
# run: |
|
run: |
|
||||||
# unzip ./artifact/artifact.zip -d ./artifact
|
unzip ./artifact/artifact.zip -d ./artifact
|
||||||
|
|
||||||
# - name: Create GitHub release
|
- name: Create GitHub release
|
||||||
# id: create_release
|
id: create_release
|
||||||
# uses: actions/create-release@v1
|
uses: avakar/tag-and-release@v1
|
||||||
|
|
||||||
# env:
|
env:
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
# with:
|
|
||||||
# tag_name: release
|
|
||||||
# release_name: Release
|
|
||||||
# draft: false
|
|
||||||
# prerelease: false
|
|
||||||
|
|
||||||
# - name: Upload refactor.exe to the release
|
|
||||||
# uses: actions/upload-release-asset@v1
|
|
||||||
|
|
||||||
# env:
|
|
||||||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
# with:
|
|
||||||
# upload_url: ${{ steps.create_release.outputs.upload_url }}
|
|
||||||
# asset_path: ./artifact/refactor.exe
|
|
||||||
# asset_name: refactor.exe
|
|
||||||
# asset_content_type: application/octet-stream
|
|
||||||
|
|
||||||
- name: Upload release build
|
|
||||||
uses: ncipollo/release-action@v1.12.0
|
|
||||||
with:
|
with:
|
||||||
name: "Release"
|
tag_name: ${{ ... }}
|
||||||
tag: release
|
draft: false
|
||||||
artifacts: /artifact/artifact.zip
|
prerelease: false
|
||||||
allowUpdates: true
|
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
- name: Upload refactor.exe to the release
|
||||||
|
uses: actions/upload-release-asset@v1
|
||||||
|
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
with:
|
||||||
|
upload_url: ${{ steps.create_release.outputs.upload_url }}
|
||||||
|
asset_path: ./artifact/refactor.exe
|
||||||
|
asset_name: refactor.exe
|
||||||
|
asset_content_type: application/octet-stream
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user