diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index 424a117..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Deploy Package - -on: - push: - branches: - -master - tags: - - '*' - -jobs: - build: - - runs-on: windows-latest - - steps: - - name: Pull Source Files - uses: actions/checkout@v1 - - - name: Setup Nuget.exe - uses: warrenbuckley/Setup-Nuget@v1 - - - name: Update version in .qplug file - run: | - $TAG = $Env:GITHUB_REF.Replace("refs/tags/","") - # Will get exactly the first instance of a .qplug file - $QPLUG = (Get-ChildItem -Path "content" -Include *.qplug -Force -Recurse -File | Select-Object -First 1).Name - ((Get-Content -path content\$QPLUG -Raw) -replace '0.0.0.0-master',$TAG) | Set-Content content\$QPLUG - - - - name: Pack with nuget.exe - run: | - nuget pack -Version $Env:GITHUB_REF.Replace("refs/tags/","")