mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-05-12 13:48:31 +02:00
Update build-windows.yml
This commit is contained in:
parent
c306c6d5a3
commit
2fe8dba906
1 changed files with 12 additions and 3 deletions
15
.github/workflows/build-windows.yml
vendored
15
.github/workflows/build-windows.yml
vendored
|
@ -4,8 +4,12 @@ permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
on:
|
on:
|
||||||
schedule:
|
push:
|
||||||
- cron: "0 0 * * *"
|
paths:
|
||||||
|
- "VERSION"
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -68,10 +72,15 @@ jobs:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
compression-level: 9
|
compression-level: 9
|
||||||
|
|
||||||
|
- name: Get version tag
|
||||||
|
run: |
|
||||||
|
VERSION=$(cat VERSION)
|
||||||
|
echo "VERSION=$VERSION" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Release
|
- name: Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
src/Picocrypt.exe
|
src/Picocrypt.exe
|
||||||
tag_name: nightly
|
tag_name: ${{ env.VERSION }}
|
||||||
make_latest: true
|
make_latest: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue