tobiasKaminsky
56df7ad103
Pin versions
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-12-16 10:35:39 +01:00
Tobias Kaminsky
d62e215cf9
Fix QA upload ( #10447 )
...
* secret is called GIT_TOKEN on GitHub
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* Remove "sudo" from qa build to preserve env variables
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
Co-authored-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-06-28 07:43:32 +00:00
tobiasKaminsky
92d3f08f6a
Setting token permissions to read-only follows the principle of least privilege.
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-06-13 14:23:55 +02:00
Álvaro Brey
f54d234626
Merge pull request #10279 from nextcloud/chore/analysis-github-token
...
workflows/analysis: Use GITHUB_TOKEN instead of GIT_TOKEN, and some cleanup
2022-05-31 10:07:03 +02:00
Álvaro Brey
fa3d92009d
Update workflows/qa
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-23 10:15:29 +02:00
Álvaro Brey
e74e12c293
Update some workflows
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-23 10:11:36 +02:00
dependabot[bot]
5e924a5c4f
Bump actions/setup-java from 2 to 3
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 11:20:00 +00:00
Álvaro Brey Vilas
fb5de078f7
qa: fix head ref
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-23 10:29:31 +01:00
Álvaro Brey Vilas
eeee70f472
qa: run on pull_request_target, to enable running on fork PRs
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-21 13:24:10 +01:00
Álvaro Brey Vilas
ec98c5db52
Centralize NDK and CMAKE versions
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-15 14:43:05 +01:00
Álvaro Brey Vilas
3b5d9ddabf
qa: Ensure NDK and cmake are present
...
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-03-15 13:14:57 +01:00
tobiasKaminsky
e32de23933
fix qa
...
fix lint
fix uploadArtifact.sh
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2022-03-11 11:11:43 +01:00
dependabot[bot]
5e0c59cd6d
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-07 08:20:38 +00:00
Álvaro Brey Vilas
417dee2535
workflows: Use temurin JDK instead of adopt
...
Ref: https://blog.adoptopenjdk.net/2021/08/goodbye-adoptopenjdk-hello-adoptium/
tl;dr: AdoptOpenJDK is discontinued and recommendation is to use Eclipse Temurin instead
Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
2022-01-20 11:01:09 +01:00
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