v0.8.0 #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
release: | |
types: [created] | |
permissions: | |
contents: write | |
jobs: | |
build: | |
name: Build | |
uses: ./.github/workflows/build.yaml | |
release: | |
name: Release Build Package | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- name: Download Cardinal-Editor build | |
uses: actions/download-artifact@v4 | |
- name: Rename build with tag | |
run: | | |
ls -R | |
mv cardinal-editor/cardinal-editor.zip cardinal-editor-${{ github.event.release.tag_name }}.zip | |
- name: Publish Build to corresponding Github Release | |
uses: skx/github-action-publish-binaries@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
args: 'cardinal-editor-${{ github.event.release.tag_name }}.zip' |