diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 250096d..d3c6582 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -138,29 +138,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} shell: bash - - winget: - name: Publish to WinGet - runs-on: windows-latest - needs: publish-release - permissions: - contents: read - pull-requests: write - steps: - - name: Setup WingetCreate - run: curl.exe -L https://aka.ms/wingetcreate/latest -o wingetcreate.exe - shell: pwsh - - - name: Publish to WinGet - run: | - $version = "${{ github.ref_name }}" - - $urls = @( - "https://github.com/GDQuest/GDScript-formatter/releases/download/$version/gdscript-formatter-$version-windows-x86_64.exe.zip|x64", - "https://github.com/GDQuest/GDScript-formatter/releases/download/$version/gdscript-formatter-$version-windows-aarch64.exe.zip|arm64" - ) - - .\wingetcreate.exe update GDQuest.GDScript.Formatter --version $version --urls $urls --submit - env: - WINGET_CREATE_GITHUB_TOKEN: ${{ secrets.WINGET_PAT }} - shell: pwsh \ No newline at end of file + \ No newline at end of file diff --git a/README.md b/README.md index be6cfb4..9e33c14 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,9 @@ You can find binaries for Windows, macOS, and Linux in the [releases tab](https: **Alternative sources:** -- **Arch Linux:** Community maintained AUR Package [gdscript-formatter-bin](https://aur.archlinux.org/packages/gdscript-formatter-bin). -- **Windows:** Community maintained Scoop package (`scoop install` [`extras/gdscript-formatter`](https://github.com/ScoopInstaller/Extras/blob/master/bucket/gdscript-formatter.json)) +- **Arch Linux:** Community maintained AUR package [gdscript-formatter-bin](https://aur.archlinux.org/packages/gdscript-formatter-bin). +- **Windows:** Community maintained Scoop package (`scoop install` [`extras/gdscript-formatter`](https://github.com/ScoopInstaller/Extras/blob/master/bucket/gdscript-formatter.json)). +- **Windows:** Community maintained WinGet package (`winget install` `GDQuest.GDScript.Formatter`). - **GitHub Actions:** Community maintained [setup-gdscript-formatter](https://github.com/Modern-Arts-Research-Stories-Next/setup-gdscript-formatter) action for installing the formatter in GitHub Actions workflows. To recursively format all GDScript files in the current folder, run: