refactoring
This commit is contained in:
4
.github/workflows/attach-release.yml
vendored
4
.github/workflows/attach-release.yml
vendored
@@ -16,9 +16,9 @@ jobs:
|
|||||||
# run: mkdir artifacts
|
# run: mkdir artifacts
|
||||||
# working-directory: ./
|
# working-directory: ./
|
||||||
|
|
||||||
- name: Upload MyArtifacts
|
- uses: actions/upload-artifact@v3
|
||||||
uses: actions/upload-artifact@v3
|
|
||||||
with:
|
with:
|
||||||
|
name: my-artifact
|
||||||
path: ./artifacts
|
path: ./artifacts
|
||||||
|
|
||||||
- name: Download MyArtifacts
|
- name: Download MyArtifacts
|
||||||
|
|||||||
15
.github/workflows/release.yml
vendored
Normal file
15
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
- name: build
|
||||||
|
run: make build
|
||||||
|
- name: version
|
||||||
|
run: echo "::set-output name=version::$(https://github.com/unicorn-engine/unicorn/archive/refs/tags/ --version)"
|
||||||
|
id: version
|
||||||
|
- name: release
|
||||||
|
uses: actions/create-release@v3
|
||||||
|
id: create_release
|
||||||
|
with:
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
release_name: ${{ steps.version.outputs.version }}
|
||||||
|
tag_name: ${{ github.ref }}
|
||||||
|
body_path: ChangeLog
|
||||||
|
|
||||||
Reference in New Issue
Block a user