v1.0.0-beta.0 #12
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: | |
- published | |
jobs: | |
build: | |
uses: ./.github/workflows/build.yml | |
with: | |
version: ${{ github.event.release.tag_name }} | |
publish-release: | |
name: 🚀 Publish 📦 To Release | |
needs: build | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: ⤵️ Check out code from GitHub # needed to use GitHub CLI | |
uses: actions/checkout@v4 | |
- name: ⤵️ Download distribution artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: dist | |
path: dist | |
- name: ⤴️ Upload release assets | |
env: | |
GH_TOKEN: ${{ github.token }} # needed to use GitHub CLI | |
run: | | |
cd dist; | |
find . -type f -prune -exec gh release upload ${{ github.event.release.tag_name }} '{}' + |