Recover releases from independently retried CI packaging (#15)
Gitea CI / Check code and tests (push) Failing after 11m29s
Gitea CI / Build Android APK (push) Skipped
Gitea CI / Build Windows x64 app (push) Skipped
Gitea CI / Audit and package Windows x64 (push) Skipped
Gitea CI / Assemble and validate CI artifacts (push) Skipped
Gitea CI / Gitea CI passed (push) Failing after 2s
Gitea CI / Check code and tests (push) Failing after 11m29s
Gitea CI / Build Android APK (push) Skipped
Gitea CI / Build Windows x64 app (push) Skipped
Gitea CI / Audit and package Windows x64 (push) Skipped
Gitea CI / Assemble and validate CI artifacts (push) Skipped
Gitea CI / Gitea CI passed (push) Failing after 2s
This commit was merged in pull request #15.
This commit is contained in:
1 parent
06f1c26681
commit
8785eaf095
7 files changed
+185
-34
No files matched your search
@@ -24,6 +24,7 @@ env:
|
||||
GIT_CONFIG_VALUE_0: 'false'
|
||||
GIT_CONFIG_KEY_1: core.eol
|
||||
GIT_CONFIG_VALUE_1: lf
|
||||
RELEASE_PUBSPEC: .release-source/pubspec.yaml
|
||||
RELEASE_TAG: ${{ gitea.event.inputs.tag || gitea.ref_name }}
|
||||
GITEA_REPOSITORY: ${{ gitea.repository }}
|
||||
jobs:
|
||||
@@ -40,16 +41,23 @@ jobs:
|
||||
env:
|
||||
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
steps:
|
||||
- name: Check out release tag
|
||||
- name: Check out pinned release tools
|
||||
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
with:
|
||||
ref: ${{ gitea.sha }}
|
||||
persist-credentials: false
|
||||
github-server-url: ${{ env.CUTDEX_GITEA_INTERNAL_URL }}
|
||||
- name: Check out release source separately
|
||||
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
with:
|
||||
ref: ${{ gitea.event.inputs.tag || gitea.ref_name }}
|
||||
path: .release-source
|
||||
persist-credentials: false
|
||||
github-server-url: ${{ env.CUTDEX_GITEA_INTERNAL_URL }}
|
||||
- name: Select successful CI and prepare draft
|
||||
id: draft
|
||||
run: |
|
||||
$env:GITEA_SHA = git rev-parse HEAD
|
||||
$env:GITEA_SHA = git -C .release-source rev-parse HEAD
|
||||
if ($LASTEXITCODE -ne 0) { throw 'Release source resolution failed.' }
|
||||
python tool/gitea/stage-release.py prepare-ci
|
||||
if ($LASTEXITCODE -ne 0) { throw 'CI selection or draft preparation failed.' }
|
||||
@@ -65,10 +73,17 @@ jobs:
|
||||
CI_RUN_ID: ${{ needs.prepare.outputs.ci-run-id }}
|
||||
CI_ARTIFACT_ID: ${{ needs.prepare.outputs.android-artifact-id }}
|
||||
steps:
|
||||
- name: Check out release commit
|
||||
- name: Check out pinned release tools
|
||||
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
with:
|
||||
ref: ${{ needs.prepare.outputs.sha }}
|
||||
ref: ${{ gitea.sha }}
|
||||
persist-credentials: false
|
||||
github-server-url: ${{ env.CUTDEX_GITEA_INTERNAL_URL }}
|
||||
- name: Check out release source separately
|
||||
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
with:
|
||||
ref: ${{ gitea.event.inputs.tag || gitea.ref_name }}
|
||||
path: .release-source
|
||||
persist-credentials: false
|
||||
github-server-url: ${{ env.CUTDEX_GITEA_INTERNAL_URL }}
|
||||
- name: Download Android CI artifact
|
||||
@@ -91,10 +106,17 @@ jobs:
|
||||
CI_RUN_ID: ${{ needs.prepare.outputs.ci-run-id }}
|
||||
CI_ARTIFACT_ID: ${{ needs.prepare.outputs.windows-artifact-id }}
|
||||
steps:
|
||||
- name: Check out release commit
|
||||
- name: Check out pinned release tools
|
||||
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
with:
|
||||
ref: ${{ needs.prepare.outputs.sha }}
|
||||
ref: ${{ gitea.sha }}
|
||||
persist-credentials: false
|
||||
github-server-url: ${{ env.CUTDEX_GITEA_INTERNAL_URL }}
|
||||
- name: Check out release source separately
|
||||
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
with:
|
||||
ref: ${{ gitea.event.inputs.tag || gitea.ref_name }}
|
||||
path: .release-source
|
||||
persist-credentials: false
|
||||
github-server-url: ${{ env.CUTDEX_GITEA_INTERNAL_URL }}
|
||||
- name: Download Windows CI artifact
|
||||
@@ -117,10 +139,17 @@ jobs:
|
||||
CI_RUN_ID: ${{ needs.prepare.outputs.ci-run-id }}
|
||||
CI_ARTIFACT_ID: ${{ needs.prepare.outputs.artifact-id }}
|
||||
steps:
|
||||
- name: Check out release commit
|
||||
- name: Check out pinned release tools
|
||||
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
with:
|
||||
ref: ${{ needs.prepare.outputs.sha }}
|
||||
ref: ${{ gitea.sha }}
|
||||
persist-credentials: false
|
||||
github-server-url: ${{ env.CUTDEX_GITEA_INTERNAL_URL }}
|
||||
- name: Check out release source separately
|
||||
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||
with:
|
||||
ref: ${{ gitea.event.inputs.tag || gitea.ref_name }}
|
||||
path: .release-source
|
||||
persist-credentials: false
|
||||
github-server-url: ${{ env.CUTDEX_GITEA_INTERNAL_URL }}
|
||||
- name: Download release verification metadata
|
||||
|
||||
Reference in new issue
Block a user