Skip to content

Commit

Permalink
fix: Fix incorrect matrix.app usage
Browse files Browse the repository at this point in the history
These should have been `inputs.heroku_app_name`, c/p fail.
  • Loading branch information
Burak Yigit Kaya committed May 14, 2022
1 parent 282d27c commit 55e68dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ runs:
name: Get Heroku release
shell: bash
run: |
release_id=$(curl -fsS 'https://api.heroku.com/apps/fs-${{ matrix.app }}-beta/builds/${{ steps.create_build.outputs.id }}' \
release_id=$(curl -fsS 'https://api.heroku.com/apps/fs-${{ inputs.heroku_app_name }}-beta/builds/${{ steps.create_build.outputs.id }}' \
-H 'Authorization: Bearer ${{ inputs.heroku_api_key }}' \
-H 'Accept: application/vnd.heroku+json; version=3' | jq -r .release.id)
echo ::set-output name=id::$(echo $release_id)
heroku_release=$(curl -fsS "https://api.heroku.com/apps/fs-${{ matrix.app }}-beta/releases/$release_id" \
heroku_release=$(curl -fsS "https://api.heroku.com/apps/fs-${{ inputs.heroku_app_name }}-beta/releases/$release_id" \
-H 'Authorization: Bearer ${{ inputs.heroku_api_key }}' \
-H 'Accept: application/vnd.heroku+json; version=3')
echo ::set-output name=release::$(echo $heroku_release)
Expand Down

0 comments on commit 55e68dd

Please sign in to comment.