Skip to content

Commit c553e86

Browse files
committed
CI: Replace softprops/action-gh-release with gh release create
1 parent 7df0018 commit c553e86

1 file changed

Lines changed: 15 additions & 17 deletions

File tree

.github/workflows/gs1encoders.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -943,21 +943,19 @@ jobs:
943943
name: jsonly-app
944944

945945
- name: Create GitHub release
946-
uses: softprops/action-gh-release@v2
947-
with:
948-
tag_name: ${{ github.ref_name }}
949-
name: ${{ github.ref_name }}
950-
draft: false
951-
prerelease: false
952-
files: |
953-
gs1encoders-windows-libs-x64.zip
954-
gs1encoders-windows-libs-x86.zip
955-
gs1encoders-windows-dotnet-lib.zip
956-
gs1encoders-windows-console-app.zip
957-
gs1encoders-windows-gui-app.zip
958-
gs1encoders-linux-app.tgz
959-
gs1encoders-wasm-app.zip
960-
gs1encoders-jsonly-app.zip
961-
example-web-service-user-app.zip
962946
env:
963-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
947+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
948+
GH_REPO: ${{ github.repository }}
949+
TAG: ${{ github.ref_name }}
950+
run: |
951+
gh release create "${TAG}" \
952+
--title "${TAG}" \
953+
gs1encoders-windows-libs-x64.zip \
954+
gs1encoders-windows-libs-x86.zip \
955+
gs1encoders-windows-dotnet-lib.zip \
956+
gs1encoders-windows-console-app.zip \
957+
gs1encoders-windows-gui-app.zip \
958+
gs1encoders-linux-app.tgz \
959+
gs1encoders-wasm-app.zip \
960+
gs1encoders-jsonly-app.zip \
961+
example-web-service-user-app.zip

0 commit comments

Comments
 (0)