Allow manual worklfow triggering with invalid version

This commit is contained in:
Armin Schrenk
2021-08-10 16:35:10 +02:00
parent 90381ee53e
commit c0ee8ec3fc
+2 -1
View File
@@ -1,7 +1,7 @@
name: Build name: Build
on: on:
[push] [push, workflow_dispatch]
env: env:
JAVA_VERSION: 16 JAVA_VERSION: 16
@@ -46,6 +46,7 @@ jobs:
name: Build ${{ matrix.profile }}-buildkit name: Build ${{ matrix.profile }}-buildkit
needs: test needs: test
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'cryptomator/cryptomator' || github.event_name == 'workflow_dispatch'
strategy: strategy:
fail-fast: true fail-fast: true
matrix: matrix: