mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-29 13:27:46 +00:00
Reorder workflow steps to fix cache failure (#1571)
This commit is contained in:
parent
968507aba0
commit
5afb31f59e
2
.github/workflows/dependency_sync.yml
vendored
2
.github/workflows/dependency_sync.yml
vendored
@ -24,7 +24,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2.4.0
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.PSL_UPDATE_TOKEN }}
|
token: ${{ secrets.PSL_UPDATE_TOKEN }}
|
||||||
ref: ${{ github.event.pull_request.head.ref }}
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
6
.github/workflows/deploy_github_releases.yml
vendored
6
.github/workflows/deploy_github_releases.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
name: Build release binaries
|
name: Build release binaries
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2.4.0
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses : actions/setup-java@v2.4.0
|
uses : actions/setup-java@v2.4.0
|
||||||
with :
|
with :
|
||||||
@ -16,9 +19,6 @@ jobs:
|
|||||||
java-version : '11'
|
java-version : '11'
|
||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v2.4.0
|
|
||||||
|
|
||||||
- name: Decrypt secrets
|
- name: Decrypt secrets
|
||||||
run: scripts/signing-setup.sh "$ENCRYPT_KEY"
|
run: scripts/signing-setup.sh "$ENCRYPT_KEY"
|
||||||
env:
|
env:
|
||||||
|
@ -9,6 +9,9 @@ jobs:
|
|||||||
publish-release:
|
publish-release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2.4.0
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses : actions/setup-java@v2.4.0
|
uses : actions/setup-java@v2.4.0
|
||||||
with :
|
with :
|
||||||
@ -16,9 +19,6 @@ jobs:
|
|||||||
java-version : '11'
|
java-version : '11'
|
||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v2.4.0
|
|
||||||
|
|
||||||
- name: Determine publishing task
|
- name: Determine publishing task
|
||||||
id: task-select
|
id: task-select
|
||||||
run: |
|
run: |
|
||||||
|
6
.github/workflows/deploy_snapshot.yml
vendored
6
.github/workflows/deploy_snapshot.yml
vendored
@ -9,6 +9,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
if: "!contains(github.event.head_commit.message, '[ci skip]')"
|
||||||
steps:
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v2.4.0
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK
|
||||||
uses : actions/setup-java@v2.4.0
|
uses : actions/setup-java@v2.4.0
|
||||||
with :
|
with :
|
||||||
@ -16,9 +19,6 @@ jobs:
|
|||||||
java-version : '11'
|
java-version : '11'
|
||||||
cache: 'gradle'
|
cache: 'gradle'
|
||||||
|
|
||||||
- name: Checkout repository
|
|
||||||
uses: actions/checkout@v2.4.0
|
|
||||||
|
|
||||||
- name: Decrypt secrets
|
- name: Decrypt secrets
|
||||||
run: scripts/signing-setup.sh "$ENCRYPT_KEY"
|
run: scripts/signing-setup.sh "$ENCRYPT_KEY"
|
||||||
env:
|
env:
|
||||||
|
14
.github/workflows/draft_new_release.yml
vendored
14
.github/workflows/draft_new_release.yml
vendored
@ -9,13 +9,6 @@ jobs:
|
|||||||
name: "Draft a new release"
|
name: "Draft a new release"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set up JDK
|
|
||||||
uses : actions/setup-java@v2.4.0
|
|
||||||
with :
|
|
||||||
distribution : 'zulu'
|
|
||||||
java-version : '11'
|
|
||||||
cache: 'gradle'
|
|
||||||
|
|
||||||
- name: Extract version from milestone
|
- name: Extract version from milestone
|
||||||
run: |
|
run: |
|
||||||
VERSION="${{ github.event.milestone.title }}"
|
VERSION="${{ github.event.milestone.title }}"
|
||||||
@ -42,6 +35,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: ${{ env.CHECKOUT_REF }}
|
ref: ${{ env.CHECKOUT_REF }}
|
||||||
|
|
||||||
|
- name: Set up JDK
|
||||||
|
uses : actions/setup-java@v2.4.0
|
||||||
|
with :
|
||||||
|
distribution : 'zulu'
|
||||||
|
java-version : '11'
|
||||||
|
cache: 'gradle'
|
||||||
|
|
||||||
- name: Update changelog
|
- name: Update changelog
|
||||||
uses: thomaseizinger/keep-a-changelog-new-release@1.3.0
|
uses: thomaseizinger/keep-a-changelog-new-release@1.3.0
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user