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