Refactor
This commit is contained in:
17
.github/workflows/attach-release.yml
vendored
17
.github/workflows/attach-release.yml
vendored
@@ -12,19 +12,14 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
# - name: create artifacts directory
|
- name: create artifacts directory
|
||||||
# run: mkdir artifacts
|
run: mkdir artifacts
|
||||||
# working-directory: ./
|
working-directory: ./
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: my-artifact
|
path: artifacts
|
||||||
path: ./artifacts
|
|
||||||
|
|
||||||
- name: Download MyArtifacts
|
|
||||||
uses: actions/download-artifact@v3
|
|
||||||
with:
|
|
||||||
path: ./artifacts
|
|
||||||
|
|
||||||
- name: Display structure of downloaded files
|
- name: Display structure of downloaded files
|
||||||
run: ls -R
|
run: ls -R
|
||||||
|
working-directory: artifacts
|
||||||
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@@ -1,15 +0,0 @@
|
|||||||
- 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