Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.
Rust chatgptclaudeclidesktopdesktop-appelectron-alternativegeminilinuxmacosnativefierno-electronrusttauriweb-to-desktopwebsite-to-appwebviewwindowsyoutube
fix: prevent release 422 race condition by creating release before parallel artifact uploads
tw93041a37a178a5
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex bd783f06..38575266 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -41,6 +41,19 @@ jobs:echo "apps_name=$(jq -c '[.[] | .name]' default_app_list.json)" >> $GITHUB_OUTPUTecho "apps_config=$(jq -c '.' default_app_list.json)" >> $GITHUB_OUTPUT+ create-release:+ name: Create GitHub Release+ runs-on: ubuntu-latest+ if: startsWith(github.ref, 'refs/tags/')+ permissions:+ contents: write+ steps:+ - name: Create release placeholder+ uses: ncipollo/release-action@v1+ with:+ token: ${{ secrets.GITHUB_TOKEN }}+ skipIfReleaseExists: true+build-cli:name: Build CLIneeds: release-apps@@ -67,8 +80,11 @@ jobs:build-popular-apps:name: ${{ matrix.config.title }}- needs: [release-apps, build-cli]- if: needs.release-apps.result == 'success' && needs.build-cli.result == 'success'+ needs: [release-apps, build-cli, create-release]+ if: |+ needs.release-apps.result == 'success' &&+ needs.build-cli.result == 'success' &&+ (needs.create-release.result == 'success' || needs.create-release.result == 'skipped')strategy:matrix:config: ${{ fromJSON(needs.release-apps.outputs.apps_config) }}diff --git a/.github/workflows/single-app.yaml b/.github/workflows/single-app.yamlindex c674a439..cad91339 100644--- a/.github/workflows/single-app.yaml+++ b/.github/workflows/single-app.yaml@@ -335,6 +335,8 @@ jobs:if: matrix.os == 'ubuntu-latest' && startsWith(github.ref, 'refs/tags/')with:allowUpdates: true+ omitBody: true+ omitName: trueartifacts: "output/linux/*.deb,output/linux/*.AppImage"token: ${{ secrets.GITHUB_TOKEN }}@@ -343,6 +345,8 @@ jobs:if: matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/')with:allowUpdates: true+ omitBody: true+ omitName: trueartifacts: "output/macos/*.dmg"token: ${{ secrets.GITHUB_TOKEN }}@@ -351,5 +355,7 @@ jobs:if: matrix.os == 'windows-latest' && startsWith(github.ref, 'refs/tags/')with:allowUpdates: true+ omitBody: true+ omitName: trueartifacts: "output/windows/*.msi"token: ${{ secrets.GITHUB_TOKEN }}