Skip to content

Commit

Permalink
Merge branch 'main' of ../private
Browse files Browse the repository at this point in the history
  • Loading branch information
lunar-devops committed Oct 26, 2023
2 parents 8d16633 + 5e31880 commit 9b375a9
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/generate-public-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,19 @@ jobs:

steps:
- name: Decode Base64
id: decoded-message
run: |
base64_string="${{ inputs.body }}"
decoded_string=$(echo "${{ inputs.body }}" | base64 -d)
echo "Decoded string: $decoded_string"
multi_line_text=$(cat <<-EOF
$decoded_string
cat > ${{ github.workspace }}/body.txt <<-EOF
$decoded_string
EOF
)
echo "::set-output name=message::$multi_line_text"
- name: Create Public Draft Release
uses: softprops/action-gh-release@v1
with:
body: "${{ steps.decoded-message.outputs.message }}"
body_path: ${{ github.workspace }}/body.txt
draft: true
name: "${{ inputs.name }}"
tag_name: "${{ inputs.tag }}"
Expand Down

0 comments on commit 9b375a9

Please sign in to comment.