diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 380d854..2952712 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,11 +18,6 @@ jobs: - name: checkout repository uses: actions/checkout@v3 - - name: setup dotnet - uses: actions/setup-dotnet@v3 - with: - dotnet-version: 6.0.x - - name: check raylib version id: version shell: bash @@ -37,6 +32,11 @@ jobs: - name: checkout repository uses: actions/checkout@v3 + - name: setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 6.0.x + - name: setup dependencies run: | sudo apt-get update @@ -78,6 +78,11 @@ jobs: - name: checkout repository uses: actions/checkout@v3 + - name: setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 6.0.x + - name: build projects run: dotnet build -c Release @@ -106,6 +111,11 @@ jobs: - name: checkout repository uses: actions/checkout@v3 + - name: setup dotnet + uses: actions/setup-dotnet@v3 + with: + dotnet-version: 6.0.x + - name: build projects run: dotnet build -c Release @@ -116,7 +126,7 @@ jobs: uses: actions/upload-artifact@v3 with: name: win-${{ matrix.name }} - path: Raylib-cs.Native/obj/Release/net6.0/native/raylib/raylib.dll + path: Raylib-cs.Native/obj/Release/net6.0/native/raylib/Release/raylib.dll if-no-files-found: error build-publish: