mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
this is a profoundly dumb bug
This commit is contained in:
parent
a59e2e9f00
commit
e824dca8f2
3 changed files with 8 additions and 1 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -5,6 +5,9 @@ on:
|
|||
projects:
|
||||
required: true
|
||||
type: string
|
||||
ref:
|
||||
required: true
|
||||
type: string
|
||||
|
||||
env:
|
||||
TEA_SECRET: ${{ secrets.TEA_SECRET }}
|
||||
|
@ -15,9 +18,10 @@ jobs:
|
|||
steps:
|
||||
- name: queue
|
||||
run: |
|
||||
# Don't use GITHUB_SHA for PRs: https://github.com/orgs/community/discussions/25191
|
||||
curl https://app.tea.xyz/api/builder/enqueue \
|
||||
-H "authorization: bearer ${{ secrets.TEA_API_TOKEN }}" \
|
||||
-d "$GITHUB_SHA ${{ inputs.projects }}"
|
||||
-d "${{inputs.ref}} ${{ inputs.projects }}"
|
||||
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
|
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -17,5 +17,7 @@ jobs:
|
|||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
projects: ${{ needs.get-diff.outputs.diff }}
|
||||
# Don't use GITHUB_SHA for PRs: https://github.com/orgs/community/discussions/25191
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
secrets: inherit
|
||||
if: ${{ needs.get-diff.outputs.diff != '' }}
|
||||
|
|
1
.github/workflows/new-version.yml
vendored
1
.github/workflows/new-version.yml
vendored
|
@ -12,4 +12,5 @@ jobs:
|
|||
uses: ./.github/workflows/build.yml
|
||||
with:
|
||||
projects: ${{ inputs.projects }}
|
||||
ref: ${{ github.sha }}
|
||||
secrets: inherit
|
Loading…
Reference in a new issue