revert 0725a63b09 and fix workflow

This commit is contained in:
Armin Schrenk
2022-12-09 16:56:02 +01:00
parent 433eecc6a8
commit 9dfd8adcce
2 changed files with 14 additions and 13 deletions

View File

@@ -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 <https://github.com/${{ github.repository }}/actions/workflows/winget.yml|deploy to Winget>."
SLACK_FOOTER: false
MSG_MINIMAL: true
allowlist:
name: Anti Virus Allowlisting

View File

@@ -1,6 +1,11 @@
name: Release to Winget
on:
workflow_call:
inputs:
releaseTag:
required: true
type: string
workflow_dispatch:
inputs:
releaseTag: