Skip to content

.github/workflows/draft_release.yml #10

.github/workflows/draft_release.yml

.github/workflows/draft_release.yml #10

Workflow file for this run

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