Skip to content

Commit a5ae5e1

Browse files
committed
Restore ncipollo/release-action with bodyFile to avoid escaping issues
The 502 was a transient GitHub error. Use bodyFile instead of body to pass release notes from a file, avoiding special character issues.
1 parent 7fc7c2c commit a5ae5e1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ jobs:
7676
fi
7777
} > release_notes.md
7878
- name: Create Release
79-
run: |
80-
TAG_NAME="${GITHUB_REF#refs/tags/}"
81-
gh release create "$TAG_NAME" \
82-
.build/Xcode/Frameworks/OpenAttributeGraph.xcframework.zip \
83-
--title "$TAG_NAME" \
84-
--notes-file release_notes.md
79+
uses: ncipollo/release-action@v1
80+
with:
81+
bodyFile: release_notes.md
82+
allowUpdates: true
83+
artifacts: ".build/Xcode/Frameworks/OpenAttributeGraph.xcframework.zip"
84+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)