Skip to content

Commit 41bef66

Browse files
committed
Github Actions: Fix release workflow
1 parent cc084a9 commit 41bef66

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/objective-c-xcode.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@ jobs:
1818
run: make
1919

2020
- name: Create Release
21-
id: create_release
22-
uses: softprops/action-gh-release@v2
23-
with:
24-
draft: false
25-
prerelease: false
26-
files: |
27-
trash
28-
name: ${{ github.ref }}
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
run: >-
24+
gh release create ${{ github.ref }}
25+
--title ${{ github.ref }}
26+
--notes "Release ${{ github.ref }}"
27+
--draft false
28+
--prerelease false
29+
--repo ${{ github.repository }}
30+
--files trash

0 commit comments

Comments
 (0)