use install.ts from teaxyz/cli

This commit is contained in:
Jacob Heider 2022-09-19 19:19:31 -04:00 committed by Max Howell
parent 79ff91e25e
commit 52d90d25d5
2 changed files with 9 additions and 5 deletions

View file

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

View file

@ -24,3 +24,4 @@ test:
test "$OUT" = "$INPUT" test "$OUT" = "$INPUT"
env: env:
INPUT: Hello, World! INPUT: Hello, World!