From 9dfd8adcced223b5c104c58a8059f5c4bea17124 Mon Sep 17 00:00:00 2001 From: Armin Schrenk Date: Fri, 9 Dec 2022 16:56:02 +0100 Subject: [PATCH] revert 0725a63b09922ec5dafd3ecd5c4953fedb023f25 and fix workflow --- .github/workflows/win-exe.yml | 22 +++++++++------------- .github/workflows/winget.yml | 5 +++++ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index f634abb87..a19056157 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -195,6 +195,15 @@ jobs: *.msi *.asc + call-winget-flow: + needs: [get-version, build-msi] + if: github.event.action == 'published' && needs.get-version.outputs.versionType == 'stable' + uses: ./.github/workflows/winget.yml + with: + releaseTag: ${{ github.event.release.tag_name }} + secrets: inherit + + build-exe: name: Build .exe installer runs-on: windows-latest @@ -299,19 +308,6 @@ jobs: files: | Cryptomator-*.exe Cryptomator-*.asc - - name: Slack Notification - if: ${{ needs.get-version.outputs.versionType == 'stable' }} - uses: rtCamp/action-slack-notify@v2 - env: - SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }} - SLACK_USERNAME: 'Cryptobot' - SLACK_ICON: false - SLACK_ICON_EMOJI: ':bot:' - SLACK_CHANNEL: 'cryptomator-desktop' - SLACK_TITLE: "Windows build of ${{ github.event.repository.name }} ${{ github.event.release.tag_name }} finished." - SLACK_MESSAGE: "Ready to ." - SLACK_FOOTER: false - MSG_MINIMAL: true allowlist: name: Anti Virus Allowlisting diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml index 6d1475ef7..632b02de5 100644 --- a/.github/workflows/winget.yml +++ b/.github/workflows/winget.yml @@ -1,6 +1,11 @@ name: Release to Winget on: + workflow_call: + inputs: + releaseTag: + required: true + type: string workflow_dispatch: inputs: releaseTag: