Skip to content

Commit 3a7d7d6

Browse files
committed
hack hack hack
Signed-off-by: Brian Harring <ferringb@gmail.com>
1 parent e50aa3c commit 3a7d7d6

File tree

3 files changed

+17
-4
lines changed

3 files changed

+17
-4
lines changed

.github/actions/checkout/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ inputs:
66
description: The artifact-id to download and unpack. If not given, a standard git checkout is ran
77
required: false
88
default: ''
9-
9+
artifact-runner-id:
10+
description: Which runner generated the artifact
11+
required: false
12+
default: ''
1013
path:
1114
description: Where to checkout to
1215
default: ''

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
environment: release
1313
outputs:
14-
artifact-id: ${{ steps.release-upload.outputs.artifact-id || '' }}
14+
artifact-id: steps.release-upload.outputs.artifact-id
1515

1616
permissions:
1717
id-token: write # Used to authenticate to PyPI via OIDC
@@ -65,7 +65,7 @@ jobs:
6565
id: release-upload
6666
uses: actions/upload-artifact@v5
6767
with:
68-
name: release-${{ github.sha }}.zip
68+
name: release-${{ github.sha }}
6969
path: dist/*
7070

7171
test:

.github/workflows/test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,17 @@ on:
99
inputs:
1010
artifact-id:
1111
required: false
12-
type: number
12+
type: string
13+
default: ''
1314
description: The artifact-id to run the tests against.
15+
artifact-runner:
16+
required: false
17+
type: string
18+
default: ''
1419
disable-ruff-check:
1520
required: false
1621
type: boolean
22+
default: false
1723
description: Disable the ruff format check. This should only be used by release.
1824
jobs:
1925
build:
@@ -45,6 +51,7 @@ jobs:
4551
uses: ferringb/pkgcore/.github/actions/checkout@deploy
4652
with:
4753
artifact-id: ${{ inputs.artifact-id }}
54+
artifact-runner: ${{ inputs.artifact-runner }}
4855

4956
- name: Pin dependencies to minimal versions
5057
if: ${{ matrix.deps == 'minimal-deps' }}
@@ -92,6 +99,7 @@ jobs:
9299
with:
93100
path: pkgcore
94101
artifact-id: ${{ inputs.artifact-id }}
102+
artifact-runner: ${{ inputs.artifact-runner }}
95103

96104
- name: Checkout pkgcheck
97105
uses: actions/checkout@v4
@@ -127,6 +135,7 @@ jobs:
127135
uses: ferringb/pkgcore/.github/actions/checkout@deploy
128136
with:
129137
artifact-id: ${{ inputs.artifact-id }}
138+
artifact-runner: ${{ inputs.artifact-runner }}
130139
path: pkgcore
131140

132141
- name: Checkout pkgdev
@@ -173,6 +182,7 @@ jobs:
173182
uses: ferringb/pkgcore/.github/actions/checkout@deploy
174183
with:
175184
artifact-id: ${{ inputs.artifact-id }}
185+
artifact-runner: ${{ inputs.artifact-runner }}
176186
path: pkgcore
177187

178188
- name: Checkout gentoo

0 commit comments

Comments
 (0)