diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 7f53077..97b152b 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -13,9 +13,6 @@ defaults: jobs: build: runs-on: windows-latest - defaults: - run: - working-directory: src strategy: matrix: @@ -35,7 +32,7 @@ jobs: # run: dotnet restore - name: Update version - run: dotnet script "src/UpdateVersion.csx" + run: dotnet script "${{ github.workspace }}/../src/UpdateVersion.csx" env: GITHUB_RUN_NUMBER: ${{ github.run_number }} shell: pwsh