Skip to content

Commit

Permalink
add workshop uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
diogotr7 committed Jul 30, 2024
1 parent 8bb976d commit 6ab856f
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ab856f

Please sign in to comment.