diff --git a/.github/workflows/attach-release.yml b/.github/workflows/attach-release.yml index 1b34cd64..7fa89766 100644 --- a/.github/workflows/attach-release.yml +++ b/.github/workflows/attach-release.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..05b386ca --- /dev/null +++ b/.github/workflows/release.yml @@ -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 +