Create main.yml

This commit is contained in:
seerge
2023-02-13 19:01:31 +01:00
committed by GitHub
parent f48c7c388a
commit b14ee181f9

26
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,26 @@
name: Main
on:
push:
tags:
- "v*.*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: |
mkdir release
cp *.exe ./release
echo ${{ github.sha }} > ./release/Release.txt
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
./release/*