Fix restock again

This commit is contained in:
Max Howell 2023-12-29 08:28:03 +00:00
parent 5c3247795d
commit a3d3bc654e
No known key found for this signature in database
GPG key ID: 741BB84EF5BB9EEC
4 changed files with 11 additions and 5 deletions

View file

@ -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()))]
console.log(JSON.stringify(versions)) 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))
}

View file

@ -1,4 +1,4 @@
name: ci-squared name: ci²
run-name: ci² run-name: ci²
on: on:

View file

@ -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:

View file

@ -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