.github/workflows/draft_release.yml #10
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
on: | |
push: | |
tags: v*.* | |
jobs: | |
test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: ✅ Checkout repository | |
uses: actions/checkout@v4 | |
with: { fetch-depth: 0 } | |
- name: 🧪 Run unit tests | |
run: ./build.sh unit-test | |
create-github-release: | |
runs-on: ubuntu-22.04 | |
needs: test | |
steps: | |
- name: ✅ Checkout repository | |
uses: actions/checkout@v4 | |
with: { fetch-depth: 0 } | |
- name: 🛠️ Build release assets | |
run: ./build.sh pack --configuration Release | |
- name: 🚀 Create GitHub release and upload asset files | |
run: ./build.sh create-github-release | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
permissions: | |
contents: write |