mirror of
https://github.com/ivabus/pantry
synced 2025-06-08 08:20:32 +03:00
use install.ts from teaxyz/cli
This commit is contained in:
parent
79ff91e25e
commit
52d90d25d5
2 changed files with 9 additions and 5 deletions
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
|
@ -90,7 +90,9 @@ jobs:
|
||||||
run: scripts/sort.ts ${{ inputs.projects }}
|
run: scripts/sort.ts ${{ inputs.projects }}
|
||||||
id: sorted
|
id: sorted
|
||||||
|
|
||||||
- run: scripts/install.ts ${{ steps.sorted.outputs.pre-install }}
|
- run: |
|
||||||
|
cd ../cli
|
||||||
|
./scripts/install.ts ${{ steps.sorted.outputs.pre-install }}
|
||||||
|
|
||||||
- run: scripts/build.ts ${{ steps.sorted.outputs.pkgs }}
|
- run: scripts/build.ts ${{ steps.sorted.outputs.pkgs }}
|
||||||
id: build
|
id: build
|
||||||
|
@ -184,7 +186,9 @@ jobs:
|
||||||
- run: scripts/deps.ts -i ${{ needs.build.outputs.pkgs }}
|
- run: scripts/deps.ts -i ${{ needs.build.outputs.pkgs }}
|
||||||
id: deps
|
id: deps
|
||||||
|
|
||||||
- run: scripts/install.ts ${{ steps.deps.outputs.pkgs }}
|
- run: |
|
||||||
|
cd ../cli
|
||||||
|
./scripts/install.ts ${{ steps.deps.outputs.pkgs }}
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
echo ${{ inputs.projects }} | xargs -tn1
|
echo ${{ inputs.projects }} | xargs -tn1
|
||||||
|
@ -199,6 +203,5 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
|
||||||
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
|
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
|
||||||
SLACK_MESSAGE: build job for ${{ inputs.projects }} ${{ needs.build.result == 'success' && 'succeeded' || 'failed' }}
|
SLACK_MESSAGE: build job for ${{ inputs.projects }} ${{ needs.verify-relocatable.result }}
|
||||||
#FIXME SO UGLY: if one of the matrix fails, it cancels the others and returns `cancelled`
|
SLACK_COLOR: $ {{ needs.verify-relocatable.result }}
|
||||||
SLACK_COLOR: ${{ needs.build.result == 'cancelled' && 'failed' || needs.build.result }}
|
|
||||||
|
|
|
@ -24,3 +24,4 @@ test:
|
||||||
test "$OUT" = "$INPUT"
|
test "$OUT" = "$INPUT"
|
||||||
env:
|
env:
|
||||||
INPUT: Hello, World!
|
INPUT: Hello, World!
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue