ci: release flow tweaks (#4723)

This commit is contained in:
James Rich 2026-03-05 13:47:09 -06:00 committed by GitHub
parent 43f9aa0b50
commit 2e13b1ab17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 20 additions and 159 deletions

View file

@ -60,15 +60,6 @@ permissions:
attestations: write
jobs:
run-lint:
uses: ./.github/workflows/reusable-check.yml
with:
run_lint: true
run_unit_tests: false
run_instrumented_tests: false
upload_artifacts: false
secrets: inherit
prepare-build-info:
runs-on: ubuntu-latest
outputs:
@ -85,19 +76,6 @@ jobs:
ref: ${{ inputs.tag_name }}
fetch-depth: 0
submodules: 'recursive'
- name: Set up JDK 17
uses: actions/setup-java@v5
with:
java-version: '17'
distribution: 'jetbrains'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
build-scan-publish: true
build-scan-terms-of-use-url: 'https://gradle.com/terms-of-service'
build-scan-terms-of-use-agree: 'yes'
- name: Determine Version Name from Tag
id: get_version_name
run: echo "APP_VERSION_NAME=$(echo ${{ inputs.tag_name }} | sed 's/-.*//' | sed 's/v//')" >> $GITHUB_OUTPUT
@ -119,7 +97,7 @@ jobs:
release-google:
runs-on: ubuntu-latest
needs: [prepare-build-info, run-lint]
needs: [prepare-build-info]
environment: Release
env:
GRADLE_CACHE_URL: ${{ secrets.GRADLE_CACHE_URL }}
@ -210,7 +188,7 @@ jobs:
release-fdroid:
runs-on: ubuntu-latest
needs: [prepare-build-info, run-lint]
needs: [prepare-build-info]
environment: Release
env:
GRADLE_CACHE_URL: ${{ secrets.GRADLE_CACHE_URL }}
@ -286,7 +264,6 @@ jobs:
uses: actions/checkout@v6
with:
ref: ${{ inputs.tag_name }}
fetch-depth: 0
- name: Download all artifacts
uses: actions/download-artifact@v8
@ -297,6 +274,7 @@ jobs:
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ inputs.tag_name }}
target_commitish: ${{ inputs.commit_sha || github.sha }}
name: ${{ inputs.tag_name }} (${{ needs.prepare-build-info.outputs.APP_VERSION_CODE }})
generate_release_notes: false
files: ./artifacts/*/*