diff --git a/.github/workflows/lightless-tag-and-release.yml b/.github/workflows/lightless-tag-and-release.yml index a80f6e9..2320cdf 100644 --- a/.github/workflows/lightless-tag-and-release.yml +++ b/.github/workflows/lightless-tag-and-release.yml @@ -11,6 +11,8 @@ env: jobs: tag-and-release: runs-on: windows-2022 + permissions: + contents: write steps: - name: Checkout Lightless @@ -47,7 +49,7 @@ jobs: - name: Prepare Lightless Client run: | - $publishPath = "${{ env.PLUGIN_NAME }}/bin/x64/Release/publish" # Clean up this folder if it exists + $publishPath = "${{ env.PLUGIN_NAME }}/bin/x64/Release/publish" if (Test-Path $publishPath) { Remove-Item -Recurse -Force $publishPath Write-Host "Removed $publishPath" @@ -79,6 +81,4 @@ jobs: name: ${{ steps.package_version.outputs.version }} draft: false prerelease: false - files: output/LightlessClient.zip - env: - GITHUB_TOKEN: ${{ secrets.LIGHTLESS_TOKEN }} \ No newline at end of file + files: output/LightlessClient.zip \ No newline at end of file