Skip to content

Commit 3987cad

Browse files
author
Justin Boswell
authored
Fixed step output references (#84)
* Fixed step output references
1 parent 38eb171 commit 3987cad

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/create-channel.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,10 @@ jobs:
4242

4343
- name: Package builder to S3
4444
run: |
45+
export CHANNEL=${{ steps.tag.outputs.release_tag }}
4546
mkdir -p build
4647
python3 -m zipapp --python="/usr/bin/env python3" --output=build/builder builder
47-
aws s3 cp build/builder s3://$AWS_S3_BUCKET/channels/${{ steps.tag.outputs.release_tag }}/builder.pyz
48+
aws s3 cp build/builder s3://$AWS_S3_BUCKET/channels/$CHANNEL/builder.pyz
4849
4950
- name: Artifact builder
5051
uses: actions/upload-artifact@v1

.github/workflows/create-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
106106
- name: Export aws-crt-${{ matrix.variant }} image to S3/releases
107107
run: |
108-
export IMAGE_TAG=$${{ steps.tag.outputs.release_tag }}
108+
export IMAGE_TAG=${{ steps.tag.outputs.release_tag }}
109109
docker save docker.pkg.github.com/awslabs/aws-crt-builder/aws-crt-${{ matrix.variant }}:$IMAGE_TAG | gzip > /tmp/aws-crt-${{ matrix.variant }}-$IMAGE_TAG.tar.gz
110110
aws s3 cp --no-progress /tmp/aws-crt-${{ matrix.variant }}-$IMAGE_TAG.tar.gz s3://${{env.AWS_S3_BUCKET}}/releases/$IMAGE_TAG/aws-crt-${{ matrix.variant }}.tar.gz
111111
aws s3 cp --no-progress s3://${{env.AWS_S3_BUCKET}}/releases/$IMAGE_TAG/aws-crt-${{ matrix.variant }}.tar.gz s3://${{env.AWS_S3_BUCKET}}/LATEST/aws-crt-${{ matrix.variant }}.tar.gz

0 commit comments

Comments
 (0)