From db2b31a58ffc3392ab24a92ebc9ea2396ef43f20 Mon Sep 17 00:00:00 2001 From: isatsam <59480088+hypnotiger@users.noreply.github.com> Date: Sun, 15 Sep 2024 20:51:57 +0300 Subject: [PATCH] Make Win/MacOS workflows save artefacts --- .github/workflows/macos_dev.yml | 9 ++++++++- .github/workflows/windows_dev.yml | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/macos_dev.yml b/.github/workflows/macos_dev.yml index d530540..6f819e6 100644 --- a/.github/workflows/macos_dev.yml +++ b/.github/workflows/macos_dev.yml @@ -1,5 +1,7 @@ name: MacOS Development Builds on: [push] +permissions: + contents: write jobs: pyinstaller-build: runs-on: macos-latest @@ -11,4 +13,9 @@ jobs: pyinstaller_ver: "==6.10.0" spec: "vfs_explorer/build/build_macos.spec" requirements: "requirements.txt" - upload_exe_with_name: "vfs_explorer_windows_dev" + upload_exe_with_name: "vfs_explorer_macos_dev" + - name: Add to release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: "vfs_explorer_macos_dev" diff --git a/.github/workflows/windows_dev.yml b/.github/workflows/windows_dev.yml index 9adb304..257dcc2 100644 --- a/.github/workflows/windows_dev.yml +++ b/.github/workflows/windows_dev.yml @@ -1,5 +1,7 @@ name: Windows Development Builds on: [push] +permissions: + contents: write jobs: pyinstaller-build: runs-on: windows-latest @@ -12,3 +14,8 @@ jobs: spec: "vfs_explorer/build/build.spec" requirements: "requirements.txt" upload_exe_with_name: "vfs_explorer_windows_dev" + - name: Add to release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: "vfs_explorer_windows_dev"