0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-11 02:23:09 -05:00

Inherit secrect in workflow (#1514)

This commit is contained in:
Alex 2023-02-02 00:15:27 -06:00 committed by GitHub
parent 4f38851880
commit eb408d4858
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,27 +4,28 @@ on:
workflow_dispatch:
inputs:
serverBump:
description: 'Bump server version'
description: "Bump server version"
required: true
default: 'false'
default: "false"
type: choice
options:
- false
- minor
- patch
- "false"
- minor
- patch
mobileBump:
description: 'Bump mobile build number'
description: "Bump mobile build number"
required: false
type: boolean
jobs:
build_mobile:
uses: ./.github/workflows/build-mobile.yml
secrets: inherit
tag_release:
runs-on: ubuntu-latest
needs: build_mobile
steps:
- name: Checkout
uses: actions/checkout@v3
@ -33,7 +34,7 @@ jobs:
- name: Bump version
run: misc/release/pump-version.sh -s "${{ inputs.serverBump }}" -m "${{ inputs.mobileBump }}"
- name: Commit and tag
uses: EndBug/add-and-commit@v9
with:
@ -47,7 +48,7 @@ jobs:
uses: actions/download-artifact@v3
with:
name: release-apk-signed
- name: Create draft release
uses: softprops/action-gh-release@v1
with: