Skip to content

Commit

Permalink
fix: stop using set-output
Browse files Browse the repository at this point in the history
  • Loading branch information
paulswartz committed Oct 24, 2022
1 parent 2d58227 commit 65250aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build-push-ecr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ runs:
steps:
- run: test -n "${{ inputs.aws-access-key-id }}" -a -n "${{ inputs.aws-secret-access-key }}"
shell: bash
- run: echo "::set-output name=tag::${{ inputs.docker-repo }}:git-$(git rev-parse --short HEAD)"
- run: echo "tag=${{ inputs.docker-repo }}:git-$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
id: docker
shell: bash
- run: >
Expand Down
6 changes: 3 additions & 3 deletions commit-metadata/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ runs:
- shell: bash
id: git
run: |
echo ::set-output name=sha-short::$(git rev-parse --short ${{ github.sha }})
echo ::set-output name=commit-message::$(
echo "sha-short=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_OUTPUT
echo "commit-message=$(
git log --format=%B -n 1 ${{ github.sha }} | head -n 1
)
)" >> $GITHUB_OUTPUT
- shell: bash
run: |
cat <<EOF
Expand Down
6 changes: 3 additions & 3 deletions eb-ecr-dockerrun/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ runs:
- shell: bash
id: build
run: |
echo ::set-output name=package::$(
echo "package=$(
mktemp -d $RUNNER_TEMP/package-XXXXXX
)/${{ github.sha }}.zip
echo ::set-output name=dir::$(mktemp -d $RUNNER_TEMP/deploy-XXXXXX)
)/${{ github.sha }}.zip" >> $GITHUB_OUTPUT
echo "dir=$(mktemp -d $RUNNER_TEMP/deploy-XXXXXX)" >> $GITHUB_OUTPUT
- shell: bash
run: |
test -d rel/.ebextensions && cp -r rel/.ebextensions ${{ steps.build.outputs.dir }}
Expand Down

0 comments on commit 65250aa

Please sign in to comment.