diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef49886..3cde73e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,12 +26,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.1.0 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup dotnet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 2.2.108 source-url: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json @@ -56,7 +56,7 @@ jobs: run: dotnet pack -c Release -p:PackageVersion=1.0.0.0 - name: Upload windows artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: nuget path: ./BrainAI/bin/Release/BrainAI.*.nupkg @@ -68,12 +68,12 @@ jobs: name: Build artifacts steps: - name: Checkout - uses: actions/checkout@v3.1.0 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup dotnet - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: 2.2.108 source-url: https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json @@ -111,10 +111,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Setup Pages - uses: actions/configure-pages@v2 + uses: actions/configure-pages@v5 - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 pack: needs: build @@ -123,13 +123,13 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') steps: - name: Download artifact - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: nuget path: ./artifacts - name: Setup nuget - uses: nuget/setup-nuget@v1 + uses: nuget/setup-nuget@v2 with: nuget-version: 'latest'