diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bba53e5..abb4377 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,16 +7,18 @@ jobs: runs-on: windows-latest steps: - - name: Setup .NET - uses: actions/setup-dotnet@v1 - with: - dotnet-version: '8.0.x' - - name: Clone Plugins uses: actions/checkout@v2 - name: Build Plugins - run: dotnet publish -c Release src/Artemis.Plugins.Games.sln + run: dotnet publish -c Release src + + - name: Install Plugin Uploader + run: dotnet tool install ArtemisRGB.Tools.PluginUploader --global + + - name: Upload to workshop + if: github.ref == 'refs/heads/master' + run: artemis-plugin-uploader upload-all --pat ${{ secrets.WORKSHOP_PAT }} --folder src - name: Upload Elite Dangerous uses: actions/upload-artifact@v3