mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +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()))]
|
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))
|
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²
|
run-name: ci²
|
||||||
|
|
||||||
on:
|
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
|
# cleans up our issues based on tags applied
|
||||||
|
|
||||||
name: librarian
|
name: library bot
|
||||||
run-name: "handling #${{ github.event.issue.number }}: ${{ github.event.issue.title }}"
|
run-name: "handling #${{ github.event.issue.number }}: ${{ github.event.issue.title }}"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
|
4
.github/workflows/restock.yml
vendored
4
.github/workflows/restock.yml
vendored
|
@ -13,12 +13,12 @@ jobs:
|
||||||
ingest:
|
ingest:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
versions: ${{ steps.fetch.outputs.plan }}
|
versions: ${{ steps.inventory.outputs.versions }}
|
||||||
steps:
|
steps:
|
||||||
- uses: pkgxdev/setup@v2
|
- uses: pkgxdev/setup@v2
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: ./.github/scripts/inventory.ts ${{ inputs.project }}
|
- run: ./.github/scripts/inventory.ts ${{ inputs.project }}
|
||||||
id: fetch
|
id: inventory
|
||||||
|
|
||||||
pkg:
|
pkg:
|
||||||
needs: ingest
|
needs: ingest
|
||||||
|
|
Loading…
Reference in a new issue