From b5f8401bf93597dab502e100a4651dfd48f21f9e Mon Sep 17 00:00:00 2001 From: Evan Su <48808396+HACKERALERT@users.noreply.github.com> Date: Sat, 22 Jun 2024 22:42:15 -0400 Subject: [PATCH] Update build-windows.yml --- .github/workflows/build-windows.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 3f37436..ee22a4f 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -1,5 +1,8 @@ name: build-windows +permissions: + contents: write + on: push: paths: @@ -10,6 +13,7 @@ on: - main schedule: - cron: "0 0 * * *" + workflow-dispatch: jobs: build: @@ -71,3 +75,11 @@ jobs: path: src/Picocrypt.exe if-no-files-found: error compression-level: 9 + + - name: Release + uses: softprops/action-gh-release@v2 + with: + files: | + Picocrypt.exe + tag_name: nightly + make_latest: true