Skip to content

Commit

Permalink
Fix EOF
Browse files Browse the repository at this point in the history
  • Loading branch information
Varg committed Sep 11, 2024
1 parent 68ca66a commit f66c4e4
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/release_on_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
tags:
- 'v*'

name: Release
run-name: Release ${{ github.ref }}
name: Release on tag
run-name: Release on tag ${{ github.ref_name }}

jobs:
build:
Expand All @@ -13,21 +13,20 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build release
- name: Build release ${{ github.ref_name }}
run: ./build_release.sh
- name: Get annotation
id: tag-data
run: |
{
echo 'annotation << EOF'
echo 'annotation <<EOF'
git for-each-ref "${GITHUB_REF}" --format '%(contents)'
echo 'EOF'
} >> "${GITHUB_OUTPUT}"
- name: Publish release
uses: softprops/action-gh-release@v2
with:
# make_latest: true
draft: true
make_latest: true
body: ${{ steps.tag-data.outputs.annotation }}
files: |
dist/qspgui_win32.zip

0 comments on commit f66c4e4

Please sign in to comment.