Commit graph

57 commits

Author SHA1 Message Date
Andy Scherzinger
6cf37e32d9 add missing changes from #8781
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Co-Authored-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-06 08:26:25 +00:00
Andy Scherzinger
1a7d8a7491 Update GH actions to Java 11
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-06 08:26:25 +00:00
Álvaro Brey
6863a8a637 CI:skip QA build if keystore pass is not available
This is just another step towards green checks on PRs :)

There is no way to skip the whole workflow depending on whether it is
a PR from a fork or not. The only workaround is to check whether secrets are present or not.

So, I've added a step to check if KS_PASS is empty, and set an output depending on that.
If it is empty, we just skip the rest of the steps.

To avoid the `if` repetition, a separate job can be used and then the whole `qa` job can
depend on its outputs. But that would add another "check" in the github UI.

Inspired by https://github.com/nextcloud/android/pull/8791#issuecomment-890524333

Signed-off-by: Álvaro Brey <alvaro.brv@gmail.com>
2021-08-16 00:42:30 +02:00
tobiasKaminsky
11e077a51f
Use GITHUB_TOKEN instead of own private access token
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-03-03 09:51:49 +01:00
tobiasKaminsky
fb51298c97
Run workflows only on PRs, but not on direct push (e.g. transifex push, or merge commit)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-14 15:10:21 +01:00
tobiasKaminsky
cff5e413c5
Use master, stable-* as target for workflow branches
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-05 14:42:56 +01:00
tobiasKaminsky
04693ed1a2
Move QA to GH actions
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-03 16:12:06 +01:00