diff --git a/.github/workflows/release_nightly.yml b/.github/workflows/release_nightly.yml index 40833ed..3a83da9 100644 --- a/.github/workflows/release_nightly.yml +++ b/.github/workflows/release_nightly.yml @@ -28,11 +28,12 @@ jobs: rm -rf src/package-lock.json src/node_modules/.package-lock.json src/splash/splashScreen.js.self src/node_modules/**/package.json src/node_modules/**/*.md src/node_modules/**/.*.yml src/node_modules/**/.npmignore src/node_modules/**/LICENSE src/node_modules/**/test* npx asar pack src app.asar - - uses: "marvinpinto/action-automatic-releases@latest" - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - automatic_release_tag: "nightly" - prerelease: true - title: "Nightly" - files: | - app.asar \ No newline at end of file + - name: GitHub Release + run: | + gh release delete ${{ env.VERSION }} -y + gh release create ${{ env.VERSION }} -p -t "${{ env.NAME }}" ${{ env.FILES }} + env: + GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' + VERSION: 'nightly' + NAME: 'Nightly' + FILES: app.asar \ No newline at end of file