From e74156b67c2acfb00a97c52a751aa39c63f2f14c Mon Sep 17 00:00:00 2001 From: NaveenKumar Namachivayam Date: Sun, 19 Nov 2023 13:44:42 -0500 Subject: [PATCH] Add: GitHub Action Signed-off-by: NaveenKumar Namachivayam --- .github/workflows/python-app.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 3a46ac4..db444a5 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -71,9 +71,7 @@ jobs: - name: Release Darwin uses: softprops/action-gh-release@v1 - if: - startsWith(github.ref, 'refs/tags/') - matrix.os == 'self-hosted' && matrix.arch == 'ARM64' + if: startsWith(github.ref, 'refs/tags/') && matrix.os == 'self-hosted' && matrix.arch == 'ARM64' with: token: ${{ secrets.HAMSTER_APP_RELEASE_SECRET }} files: | @@ -82,8 +80,8 @@ jobs: - name: Release Intel uses: softprops/action-gh-release@v1 if: - startsWith(github.ref, 'refs/tags/') - matrix.os == 'macos' && matrix.arch == 'X64' + startsWith(github.ref, 'refs/tags/') && matrix.os == 'macos' && matrix.arch == 'X64' + with: token: ${{ secrets.HAMSTER_APP_RELEASE_SECRET }} files: |