mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
fix(ci): migrate to tramlinehq/deploy-action
This commit is contained in:
parent
05176a1b91
commit
f1c618909b
1 changed files with 11 additions and 10 deletions
21
.github/workflows/tramline-release.yml
vendored
21
.github/workflows/tramline-release.yml
vendored
|
@ -3,14 +3,9 @@ name: Android release build
|
|||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
versionName:
|
||||
description: 'User-facing release version name'
|
||||
required: true
|
||||
default: ""
|
||||
versionCode:
|
||||
description: 'versionCode or build number'
|
||||
required: true
|
||||
default: ''
|
||||
tramline-input:
|
||||
description: "Tramline input"
|
||||
required: false
|
||||
|
||||
jobs:
|
||||
signed-build:
|
||||
|
@ -21,6 +16,12 @@ jobs:
|
|||
with:
|
||||
cache-read-only: true
|
||||
|
||||
- name: Configure Tramline
|
||||
id: tramline
|
||||
uses: tramlinehq/deploy-action@v0.1.7
|
||||
with:
|
||||
input: ${{ github.event.inputs.tramline-input }}
|
||||
|
||||
- name: Build release app
|
||||
run: |
|
||||
./scripts/setup-age.sh
|
||||
|
@ -31,8 +32,8 @@ jobs:
|
|||
AGE_SECRET_KEY: ${{ secrets.AGE_SECRET_KEY }}
|
||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ github.event.inputs.versionName }}
|
||||
ORG_GRADLE_PROJECT_VERSION_CODE: ${{ github.event.inputs.versionCode }}
|
||||
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ steps.tramline.outputs.version_name }}
|
||||
ORG_GRADLE_PROJECT_VERSION_CODE: ${{ steps.tramline.outputs.version_code }}
|
||||
|
||||
- name: Upload app bundle
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue