diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9318b5e..cb35113 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -55,16 +55,22 @@ jobs: run: (cd ui/dist && tar -zcvf ../front.tar.gz .) - name: Create release - uses: softprops/action-gh-release@v1 - with: - generate_release_notes: true - draft: false - prerelease: false - files: | - api/app_windows_amd64.exe - api/app_windows_arm.exe - api/app_darwin_amd64 - api/app_darwin_arm64 - api/app_linux_amd64 - api/app_linux_arm64 - ui/front.tar.gz + run: gh release create ${{ github.ref_name}} --generate-notes "api/app_windows_amd64.exe" "api/app_windows_arm.exe" "api/app_darwin_amd64" "api/app_darwin_arm64" "api/app_linux_amd64" "api/app_linux_arm64" "ui/front.tar.gz" + env: + GITHUB_TOKEN: ${{ github.token }} + + + # - name: Create release + # uses: softprops/action-gh-release@v1 + # with: + # generate_release_notes: true + # draft: false + # prerelease: false + # files: | + # api/app_windows_amd64.exe + # api/app_windows_arm.exe + # api/app_darwin_amd64 + # api/app_darwin_arm64 + # api/app_linux_amd64 + # api/app_linux_arm64 + # ui/front.tar.gz