mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
Fix restock again
This commit is contained in:
parent
5c3247795d
commit
a3d3bc654e
6
.github/scripts/inventory.ts
vendored
6
.github/scripts/inventory.ts
vendored
|
@ -14,4 +14,10 @@ for (const platform of ["linux", "darwin"]) {
|
|||
|
||||
versions = [...new Set(versions.filter(x => x.trim()))]
|
||||
|
||||
const ghout = Deno.env.get("GITHUB_OUTPUT")
|
||||
if (ghout) {
|
||||
const json = JSON.stringify(versions)
|
||||
Deno.writeTextFileSync(ghout, `versions=${json}`, {append: true})
|
||||
} else {
|
||||
console.log(JSON.stringify(versions))
|
||||
}
|
||||
|
|
2
.github/workflows/ci-squared.yml
vendored
2
.github/workflows/ci-squared.yml
vendored
|
@ -1,4 +1,4 @@
|
|||
name: ci-squared
|
||||
name: ci²
|
||||
run-name: ci²
|
||||
|
||||
on:
|
||||
|
|
2
.github/workflows/librarian.yml
vendored
2
.github/workflows/librarian.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
# cleans up our issues based on tags applied
|
||||
|
||||
name: librarian
|
||||
name: library bot
|
||||
run-name: "handling #${{ github.event.issue.number }}: ${{ github.event.issue.title }}"
|
||||
|
||||
on:
|
||||
|
|
4
.github/workflows/restock.yml
vendored
4
.github/workflows/restock.yml
vendored
|
@ -13,12 +13,12 @@ jobs:
|
|||
ingest:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
versions: ${{ steps.fetch.outputs.plan }}
|
||||
versions: ${{ steps.inventory.outputs.versions }}
|
||||
steps:
|
||||
- uses: pkgxdev/setup@v2
|
||||
- uses: actions/checkout@v4
|
||||
- run: ./.github/scripts/inventory.ts ${{ inputs.project }}
|
||||
id: fetch
|
||||
id: inventory
|
||||
|
||||
pkg:
|
||||
needs: ingest
|
||||
|
|
Loading…
Reference in a new issue