Skip to content

Commit a8b09b5

Browse files
committed
Small
fix
1 parent 208d422 commit a8b09b5

File tree

3 files changed

+31
-22
lines changed

3 files changed

+31
-22
lines changed

.github/actions/compute-artifact-names/action.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,24 @@ runs:
2222
]'),
2323
inputs.build-name
2424
)
25-
shell: bash
25+
shell: sh
2626
run: |
2727
# Using the ::error:: prefix lets GitHub handle it as a special string, and shows up as a red error in the logs.
2828
# https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-commands#setting-an-error-message
2929
echo '::error::Invalid build name provided: ${{ inputs.build-name }}.'
3030
exit 1
3131
32+
- name: Set artifact names
33+
id: set-artifact-names
34+
shell: sh
35+
run: |
36+
echo "artifact-name=wasp-cli-${{ inputs.build-name }}" >> $GITHUB_OUTPUT
37+
echo "tarball-name=wasp-${{ inputs.build-name }}.tar.gz" >> $GITHUB_OUTPUT
38+
3239
outputs:
3340
artifact-name:
34-
value: wasp-cli-${{ matrix.env.name }}
41+
value: ${{ steps.set-artifact-names.outputs.artifact-name }}
3542
description: "The name of the artifact attached to the CI build."
3643
tarball-name:
37-
value: wasp-${{ matrix.env.name }}.tar.gz
44+
value: ${{ steps.set-artifact-names.outputs.tarball-name }}
3845
description: "The name of the tarball inside the artifact."

.github/workflows/ci-waspc-build-template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
extra-cache-key-segment: ${{ inputs.static && 'static' || 'default' }}
3838

3939
- uses: actions/setup-node@v5
40-
if: ${{ !inputs.node-version }}
40+
if: ${{ inputs.node-version }}
4141
with:
4242
node-version: ${{ inputs.node-version }}
4343

.github/workflows/ci.yaml

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,30 +16,32 @@ concurrency:
1616
cancel-in-progress: true
1717

1818
jobs:
19-
deploy-test:
20-
uses: ./.github/workflows/ci-deploy-test.yaml
21-
secrets: inherit
19+
# FIXME: Only disabled for quicker testing. Re-enable other jobs when done.
2220

23-
examples-test:
24-
uses: ./.github/workflows/ci-examples-test.yaml
25-
secrets: inherit
21+
# deploy-test:
22+
# uses: ./.github/workflows/ci-deploy-test.yaml
23+
# secrets: inherit
2624

27-
formatting:
28-
uses: ./.github/workflows/ci-formatting.yaml
29-
secrets: inherit
25+
# examples-test:
26+
# uses: ./.github/workflows/ci-examples-test.yaml
27+
# secrets: inherit
3028

31-
starters-test:
32-
uses: ./.github/workflows/ci-starters-test.yaml
33-
secrets: inherit
29+
# formatting:
30+
# uses: ./.github/workflows/ci-formatting.yaml
31+
# secrets: inherit
3432

35-
tsspec-test:
36-
uses: ./.github/workflows/ci-tsspec-test.yaml
37-
secrets: inherit
33+
# starters-test:
34+
# uses: ./.github/workflows/ci-starters-test.yaml
35+
# secrets: inherit
36+
37+
# tsspec-test:
38+
# uses: ./.github/workflows/ci-tsspec-test.yaml
39+
# secrets: inherit
3840

3941
waspc-build:
4042
uses: ./.github/workflows/ci-waspc-build.yaml
4143
secrets: inherit
4244

43-
waspc-test:
44-
uses: ./.github/workflows/ci-waspc-test.yaml
45-
secrets: inherit
45+
# waspc-test:
46+
# uses: ./.github/workflows/ci-waspc-test.yaml
47+
# secrets: inherit

0 commit comments

Comments
 (0)