diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index b12a74569..08a0823a1 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -3,6 +3,8 @@ name: Build AppImage on: release: types: [published] + schedule: + - cron: '0 23 20 * *' workflow_dispatch: inputs: version: diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 8a2cae05a..140120f4a 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -1,6 +1,8 @@ name: Build Debian Package on: + schedule: + - cron: '0 22 20 * *' workflow_dispatch: inputs: semver: diff --git a/.github/workflows/linux-makepkg.yml b/.github/workflows/linux-makepkg.yml index 1b2fb3fdb..c28597aca 100644 --- a/.github/workflows/linux-makepkg.yml +++ b/.github/workflows/linux-makepkg.yml @@ -3,6 +3,8 @@ name: Build Arch package on: release: types: [published] + schedule: + - cron: '0 21 20 * *' workflow_dispatch: inputs: version: diff --git a/.github/workflows/mac-dmg-x64.yml b/.github/workflows/mac-dmg-x64.yml index 8454fed14..52cf69cf3 100644 --- a/.github/workflows/mac-dmg-x64.yml +++ b/.github/workflows/mac-dmg-x64.yml @@ -11,6 +11,8 @@ name: Build macOS .dmg for x64 on: release: types: [published] + schedule: + - cron: '0 20 20 * *' workflow_dispatch: inputs: version: @@ -249,7 +251,7 @@ jobs: env: CODESIGN_IDENTITY: ${{ secrets.MACOS_CODESIGN_IDENTITY }} - name: Notarize .dmg - if: startsWith(github.ref, 'refs/tags/') || inputs.notarize + if: startsWith(github.ref, 'refs/tags/') || inputs.notarize || github.event_name == 'schedule' uses: cocoalibs/xcode-notarization-action@5cf433d494b6fa26504b574c591f4dd120388846 # v1.0.3 with: app-path: 'Cryptomator-*.dmg' diff --git a/.github/workflows/mac-dmg.yml b/.github/workflows/mac-dmg.yml index b4a456782..6b3638faf 100644 --- a/.github/workflows/mac-dmg.yml +++ b/.github/workflows/mac-dmg.yml @@ -3,6 +3,8 @@ name: Build macOS .dmg for arm64 on: release: types: [published] + schedule: + - cron: '0 20 20 * *' workflow_dispatch: inputs: version: @@ -248,7 +250,7 @@ jobs: env: CODESIGN_IDENTITY: ${{ secrets.MACOS_CODESIGN_IDENTITY }} - name: Notarize .dmg - if: startsWith(github.ref, 'refs/tags/') || inputs.notarize + if: startsWith(github.ref, 'refs/tags/') || inputs.notarize || github.event_name == 'schedule' uses: cocoalibs/xcode-notarization-action@5cf433d494b6fa26504b574c591f4dd120388846 # v1.0.3 with: app-path: 'Cryptomator-*.dmg' diff --git a/.github/workflows/win-exe.yml b/.github/workflows/win-exe.yml index 779970add..f292f2532 100644 --- a/.github/workflows/win-exe.yml +++ b/.github/workflows/win-exe.yml @@ -3,6 +3,8 @@ name: Build Windows Installer on: release: types: [published] + schedule: + - cron: '0 19 20 * *' workflow_dispatch: inputs: version: @@ -193,7 +195,7 @@ jobs: & $env:JAVA_HOME\bin\jmod.exe extract --dir jpackage-jmod "${env:JAVA_HOME}\jmods\jdk.jpackage.jmod" Get-ChildItem -Recurse -Path "jpackage-jmod" -File wixhelper.dll | Select-Object -Last 1 | Copy-Item -Destination "appdir" - name: Sign DLLs with Azure Trusted Signing - if: inputs.sign || github.event_name == 'release' + if: inputs.sign || github.event_name == 'release' || github.event_name == 'schedule' uses: ./.github/actions/win-sign-action with: base-dir: ${{ github.workspace }}\appdir @@ -251,7 +253,7 @@ jobs: JP_WIXWIZARD_RESOURCES: ${{ github.workspace }}/dist/win/resources # requires abs path, used in resources/main.wxs JP_WIXHELPER_DIR: ${{ github.workspace }}\appdir - name: Sign MSI with Azure Trusted Signing - if: inputs.sign || github.event_name == 'release' + if: inputs.sign || github.event_name == 'release' || github.event_name == 'schedule' uses: ./.github/actions/win-sign-action with: base-dir: ${{ github.workspace }}\installer @@ -359,7 +361,7 @@ jobs: run: > wix burn detach installer/unsigned/Cryptomator-Installer.exe -engine tmp/engine.exe - name: Sign WiX burn engine with Azure Trusted Signing - if: inputs.sign || github.event_name == 'release' + if: inputs.sign || github.event_name == 'release' || github.event_name == 'schedule' uses: ./.github/actions/win-sign-action with: base-dir: ${{ github.workspace }}\tmp @@ -373,7 +375,7 @@ jobs: run: > wix burn reattach installer/unsigned/Cryptomator-Installer.exe -engine tmp/engine.exe -o installer/Cryptomator-Installer.exe - name: Sign EXE installer with Azure Trusted Signing - if: inputs.sign || github.event_name == 'release' + if: inputs.sign || github.event_name == 'release' || github.event_name == 'schedule' uses: ./.github/actions/win-sign-action with: base-dir: ${{ github.workspace }}\installer