Update build-windows.yml

This commit is contained in:
Evan Su 2024-06-22 22:42:15 -04:00 committed by GitHub
parent 004d1e562e
commit b5f8401bf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,8 @@
name: build-windows name: build-windows
permissions:
contents: write
on: on:
push: push:
paths: paths:
@ -10,6 +13,7 @@ on:
- main - main
schedule: schedule:
- cron: "0 0 * * *" - cron: "0 0 * * *"
workflow-dispatch:
jobs: jobs:
build: build:
@ -71,3 +75,11 @@ jobs:
path: src/Picocrypt.exe path: src/Picocrypt.exe
if-no-files-found: error if-no-files-found: error
compression-level: 9 compression-level: 9
- name: Release
uses: softprops/action-gh-release@v2
with:
files: |
Picocrypt.exe
tag_name: nightly
make_latest: true