@@ -11,6 +11,8 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
tag-and-release:
|
tag-and-release:
|
||||||
runs-on: windows-2022
|
runs-on: windows-2022
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Lightless
|
- name: Checkout Lightless
|
||||||
@@ -47,7 +49,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Prepare Lightless Client
|
- name: Prepare Lightless Client
|
||||||
run: |
|
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) {
|
if (Test-Path $publishPath) {
|
||||||
Remove-Item -Recurse -Force $publishPath
|
Remove-Item -Recurse -Force $publishPath
|
||||||
Write-Host "Removed $publishPath"
|
Write-Host "Removed $publishPath"
|
||||||
@@ -80,5 +82,3 @@ jobs:
|
|||||||
draft: false
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
files: output/LightlessClient.zip
|
files: output/LightlessClient.zip
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.LIGHTLESS_TOKEN }}
|
|
||||||
Reference in New Issue
Block a user