Skip to content

Commit

Permalink
build: update action.yaml with new release outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickDinh committed Mar 25, 2024
1 parent c3c4d16 commit c13e84f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/actions/create-release/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ inputs:
outputs:
release-published:
description: 'If the release was published'
value: ${{ steps.get-next-version.outputs.new-release-published }}
release-version:
description: 'The new release version'
value: ${{ steps.get-next-version.outputs.new-release-version }}
release-id:
description: 'The new release ID'
value: ${{ steps.get-release-id.outputs.result }}

runs:
using: 'composite'
Expand Down Expand Up @@ -64,11 +67,3 @@ runs:
tag: "v${{ steps.get-next-version.outputs.new-release-version }}"
})
return data.id
- name: set outputs
id: set-outputs
run: |
echo "::set-output release-published=${{ steps.get-next-version.outputs.new-release-published }}"
echo "::set-output release-version=${{ steps.get-next-version.outputs.new-release-version }}"
echo "::set-output release-id=${{ steps.get-release-id.outputs.result }}"
shell: bash

0 comments on commit c13e84f

Please sign in to comment.