Add automatic build and release workflow
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Build & Release
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Placeholder build
|
||||
shell: pwsh
|
||||
run: |
|
||||
New-Item -ItemType Directory -Force dist
|
||||
'Replace this with your actual build commands.' | Out-File dist\README.txt
|
||||
- uses: softprops/action-gh-release@v2
|
||||
with:
|
||||
tag_name: nightly-${{ github.run_number }}
|
||||
name: Nightly ${{ github.run_number }}
|
||||
files: dist/**
|
||||
Reference in New Issue
Block a user