mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 13:57:47 +00:00
github: add missing escapes and quotes (#1736)
This commit is contained in:
2
.github/workflows/deploy_github_releases.yml
vendored
2
.github/workflows/deploy_github_releases.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
path: app/build/outputs/apk/free/release/app-free-release.apk
|
path: app/build/outputs/apk/free/release/app-free-release.apk
|
||||||
|
|
||||||
- name: Clean secrets
|
- name: Clean secrets
|
||||||
if: always()
|
if: "${{ always() }}"
|
||||||
run: scripts/signing-cleanup.sh
|
run: scripts/signing-cleanup.sh
|
||||||
|
|
||||||
create_github_release:
|
create_github_release:
|
||||||
|
32
.github/workflows/pull_request.yml
vendored
32
.github/workflows/pull_request.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
return await script({github, context})
|
return await script({github, context})
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
uses: actions/setup-java@v2.5.0
|
uses: actions/setup-java@v2.5.0
|
||||||
with:
|
with:
|
||||||
distribution: zulu
|
distribution: zulu
|
||||||
@@ -33,11 +33,11 @@ jobs:
|
|||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- name: Copy CI gradle.properties
|
- name: Copy CI gradle.properties
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||||
|
|
||||||
- name: Check codestyle
|
- name: Check codestyle
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
uses: gradle/gradle-build-action@v2.1.3
|
uses: gradle/gradle-build-action@v2.1.3
|
||||||
with:
|
with:
|
||||||
arguments: --no-configuration-cache spotlessCheck
|
arguments: --no-configuration-cache spotlessCheck
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
return await script({github, context})
|
return await script({github, context})
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
uses: actions/setup-java@v2.5.0
|
uses: actions/setup-java@v2.5.0
|
||||||
with:
|
with:
|
||||||
distribution: zulu
|
distribution: zulu
|
||||||
@@ -68,17 +68,17 @@ jobs:
|
|||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- name: Copy CI gradle.properties
|
- name: Copy CI gradle.properties
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
uses: gradle/gradle-build-action@v2.1.3
|
uses: gradle/gradle-build-action@v2.1.3
|
||||||
with:
|
with:
|
||||||
arguments: --no-configuration-cache test -PslimTests
|
arguments: --no-configuration-cache test -PslimTests
|
||||||
|
|
||||||
- name: (Fail-only) Upload test report
|
- name: (Fail-only) Upload test report
|
||||||
if: failure()
|
if: "${{ failure() }}"
|
||||||
uses: actions/upload-artifact@v2.3.1
|
uses: actions/upload-artifact@v2.3.1
|
||||||
with:
|
with:
|
||||||
name: Test report
|
name: Test report
|
||||||
@@ -102,7 +102,7 @@ jobs:
|
|||||||
return await script({github, context})
|
return await script({github, context})
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
uses: actions/setup-java@v2.5.0
|
uses: actions/setup-java@v2.5.0
|
||||||
with:
|
with:
|
||||||
distribution: zulu
|
distribution: zulu
|
||||||
@@ -110,11 +110,11 @@ jobs:
|
|||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- name: Copy CI gradle.properties
|
- name: Copy CI gradle.properties
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||||
|
|
||||||
- name: Build debug APKs
|
- name: Build debug APKs
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
uses: gradle/gradle-build-action@v2.1.3
|
uses: gradle/gradle-build-action@v2.1.3
|
||||||
with:
|
with:
|
||||||
arguments: --no-configuration-cache assembleFreeDebug assembleNonFreeDebug
|
arguments: --no-configuration-cache assembleFreeDebug assembleNonFreeDebug
|
||||||
@@ -137,7 +137,7 @@ jobs:
|
|||||||
return await script({github, context})
|
return await script({github, context})
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
uses: actions/setup-java@v2.5.0
|
uses: actions/setup-java@v2.5.0
|
||||||
with:
|
with:
|
||||||
distribution: zulu
|
distribution: zulu
|
||||||
@@ -145,11 +145,11 @@ jobs:
|
|||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- name: Copy CI gradle.properties
|
- name: Copy CI gradle.properties
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||||
|
|
||||||
- name: Check library API
|
- name: Check library API
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
uses: gradle/gradle-build-action@v2.1.3
|
uses: gradle/gradle-build-action@v2.1.3
|
||||||
with:
|
with:
|
||||||
arguments: --no-configuration-cache apiCheck
|
arguments: --no-configuration-cache apiCheck
|
||||||
@@ -172,7 +172,7 @@ jobs:
|
|||||||
return await script({github, context})
|
return await script({github, context})
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
uses: actions/setup-java@v2.5.0
|
uses: actions/setup-java@v2.5.0
|
||||||
with:
|
with:
|
||||||
distribution: zulu
|
distribution: zulu
|
||||||
@@ -180,11 +180,11 @@ jobs:
|
|||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- name: Copy CI gradle.properties
|
- name: Copy CI gradle.properties
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties
|
||||||
|
|
||||||
- name: Run Lint on debug variants
|
- name: Run Lint on debug variants
|
||||||
if: ${{ steps.service-changed.outputs.result == 'true' }}
|
if: "${{ steps.service-changed.outputs.result == 'true' }}"
|
||||||
uses: gradle/gradle-build-action@v2.1.3
|
uses: gradle/gradle-build-action@v2.1.3
|
||||||
with:
|
with:
|
||||||
arguments: --no-configuration-cache lintDebug
|
arguments: --no-configuration-cache lintDebug
|
||||||
|
2
.github/workflows/sync_crowdin.yml
vendored
2
.github/workflows/sync_crowdin.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v3.12.1
|
uses: peter-evans/create-pull-request@v3.12.1
|
||||||
if: env.UPDATED == 'true'
|
if: "env.UPDATED == 'true'"
|
||||||
with:
|
with:
|
||||||
assignees: msfjarvis
|
assignees: msfjarvis
|
||||||
author: GitHub Actions <noreply@github.com>
|
author: GitHub Actions <noreply@github.com>
|
||||||
|
@@ -28,14 +28,14 @@ jobs:
|
|||||||
|
|
||||||
- name: Verify update publicsuffixes file
|
- name: Verify update publicsuffixes file
|
||||||
uses: gradle/gradle-build-action@v2.1.3
|
uses: gradle/gradle-build-action@v2.1.3
|
||||||
if: env.UPDATED == "true"
|
if: "${{ env.UPDATED == 'true' }}"
|
||||||
with:
|
with:
|
||||||
arguments: --no-configuration-cache :autofill-parser:test -PslimTests
|
arguments: --no-configuration-cache :autofill-parser:test -PslimTests
|
||||||
|
|
||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
id: cpr
|
id: cpr
|
||||||
uses: peter-evans/create-pull-request@v3.12.1
|
uses: peter-evans/create-pull-request@v3.12.1
|
||||||
if: env.UPDATED == "true"
|
if: "${{ env.UPDATED == 'true' }}"
|
||||||
with:
|
with:
|
||||||
assignees: msfjarvis
|
assignees: msfjarvis
|
||||||
author: GitHub Actions <noreply@github.com>
|
author: GitHub Actions <noreply@github.com>
|
||||||
@@ -48,7 +48,7 @@ jobs:
|
|||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Close, re-open and enable squash merge for PR
|
- name: Close, re-open and enable squash merge for PR
|
||||||
if: steps.cpr.outputs.pull-request-operation == "created"
|
if: "${{ steps.cpr.outputs.pull-request-operation == 'created' }}"
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
gh pr close "${PR_URL}"
|
gh pr close "${PR_URL}"
|
||||||
|
Reference in New Issue
Block a user