diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index e5d8a04..2d65531 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -26,10 +26,10 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: 8.x +# - name: Setup .NET +# uses: actions/setup-dotnet@v4 +# with: +# dotnet-version: 8.x - name: Restore dependencies run: dotnet restore @@ -42,8 +42,7 @@ jobs: shell: pwsh - name: Update version - run: dotnet script UpdateVersion.csx - working-directory: src + run: dotnet script $(GITHUB_WORKSPACE)/src/UpdateVersion.csx env: GITHUB_RUN_NUMBER: ${{ github.run_number }}