diff options
author | Sergei Kozelko <KozelkoS@yandex.ru> | 2022-09-09 05:40:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-09 05:40:51 +0000 |
commit | addd6705edfc846f210c8bd36d8355493462d879 (patch) | |
tree | 4508ebd7ec6c17f292d018d26c06377d201669e4 /.github/workflows/build.yml | |
parent | e04fedfc64cbe570a2934e05c1e8e4da7b6ddb28 (diff) | |
download | infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar.gz infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar.bz2 infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar.lz infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar.xz infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.tar.zst infinity-for-reddit-addd6705edfc846f210c8bd36d8355493462d879.zip |
Update GitHub workflows (#995)
* Update CodeQL to v2
v1 is deprecated, see https://github.blog/changelog/2022-04-27-code-scanning-deprecation-of-codeql-action-v1/
* Use gradle action for build
* Update checkout to v3
* Update setup-java to v3
* Update upload-artifact to v3
* Setup Dependabot to update GitHub actions
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e2414018..3756e754 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,22 +11,21 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set-up JDK 11 - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: '11' distribution: 'temurin' - - name: Grant Execute Permission for gradlew - run: chmod +x gradlew - - - name: Build with Gradle - run: ./gradlew build -x lint + - name: Setup and build with Gradle + uses: gradle/gradle-build-action@v2 + with: + arguments: build -x lint - name: Upload apk - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: Infinity-${{github.sha}} path: app/build/outputs/apk/ |