refactoring
This commit is contained in:
parent
d65f82576a
commit
3b0c6917dc
4
.github/workflows/attach-release.yml
vendored
4
.github/workflows/attach-release.yml
vendored
@ -16,9 +16,9 @@ jobs:
|
||||
# run: mkdir artifacts
|
||||
# working-directory: ./
|
||||
|
||||
- name: Upload MyArtifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: my-artifact
|
||||
path: ./artifacts
|
||||
|
||||
- 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user