From e5f98077f3bcfeedc324f3414abe0a2370532cbf Mon Sep 17 00:00:00 2001 From: Nereziel Date: Sat, 18 Nov 2023 15:12:57 +0100 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c2399a7..6c39ffb3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,6 +18,21 @@ jobs: permissions: write-all runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 7.0.x + - name: Restore + run: dotnet restore + - name: Build + run: dotnet build ${{ env.PROJECT_PATH }} -c WeaponPaints -o ${{ env.OUTPUT_PATH }} + + publish: + permissions: write-all + runs-on: ubuntu-latest + steps: - uses: actions/checkout@v3 - name: Setup .NET @@ -57,4 +72,4 @@ jobs: name: "Build ${{ env.BUILD_NUMBER }}" tag: "build-${{ env.BUILD_NUMBER }}" body: | - Place the plugin in game/csgo/addons/counterstrikesharp/plugins/WeaponPaints + Place the plugin in game/csgo/addons/counterstrikesharp/plugins/WeaponPaints \ No newline at end of file