mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 22:17:03 +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:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
versionName:
|
tramline-input:
|
||||||
description: 'User-facing release version name'
|
description: "Tramline input"
|
||||||
required: true
|
required: false
|
||||||
default: ""
|
|
||||||
versionCode:
|
|
||||||
description: 'versionCode or build number'
|
|
||||||
required: true
|
|
||||||
default: ''
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
signed-build:
|
signed-build:
|
||||||
|
@ -21,6 +16,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
cache-read-only: true
|
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
|
- name: Build release app
|
||||||
run: |
|
run: |
|
||||||
./scripts/setup-age.sh
|
./scripts/setup-age.sh
|
||||||
|
@ -31,8 +32,8 @@ jobs:
|
||||||
AGE_SECRET_KEY: ${{ secrets.AGE_SECRET_KEY }}
|
AGE_SECRET_KEY: ${{ secrets.AGE_SECRET_KEY }}
|
||||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||||
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ github.event.inputs.versionName }}
|
ORG_GRADLE_PROJECT_VERSION_NAME: ${{ steps.tramline.outputs.version_name }}
|
||||||
ORG_GRADLE_PROJECT_VERSION_CODE: ${{ github.event.inputs.versionCode }}
|
ORG_GRADLE_PROJECT_VERSION_CODE: ${{ steps.tramline.outputs.version_code }}
|
||||||
|
|
||||||
- name: Upload app bundle
|
- name: Upload app bundle
|
||||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue