Skip to content

Commit c896e5a

Browse files
committed
ci: update
1 parent 72b4adb commit c896e5a

3 files changed

Lines changed: 10 additions & 11 deletions

File tree

.github/workflows/manualrun_launchpad.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ jobs:
1919
uses: ./.github/workflows/reuse_launchpad.yml
2020
needs: setup
2121
secrets: inherit
22-
env:
23-
FIGMA_LINUX_REV: "${{ github.event.inputs.rev }}"
22+
with:
23+
rev: "${{ github.event.inputs.rev }}"

.github/workflows/release.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@ jobs:
6666
launchpad:
6767
name: Upload
6868
uses: ./.github/workflows/reuse_launchpad.yml
69-
secrets:
70-
GPG_PUB_KEY: ${{ secrets.GPG_PUB_KEY }}
71-
GPG_SECRET_KEY: ${{ secrets.GPG_SECRET_KEY }}
72-
GPG_PASSPHRASE_KEY: ${{ secrets.GPG_PASSPHRASE_KEY }}
73-
ID_RSA: ${{ secrets.ID_RSA }}
74-
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
75-
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
69+
rev:
7670
FIGMA_LINUX_REV: 1
7771
needs: [release_amd64, release_arm64v8]

.github/workflows/reuse_launchpad.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Launchpad PPA
22

3-
on: workflow_call
3+
on:
4+
workflow_call:
5+
inputs:
6+
rev:
7+
required: true
8+
type: string
49

510
jobs:
611
launchpad:
@@ -41,4 +46,4 @@ jobs:
4146

4247
- name: Build and Upload PPA
4348
run: |
44-
./scripts/build_ppa.sh "${FIGMA_LINUX_REV}"
49+
./scripts/build_ppa.sh "${{ github.event.inputs.rev }}"

0 commit comments

Comments
 (0)