diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3bc9321..d238768 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,7 +23,7 @@ jobs: - name: Run cake uses: coactions/setup-xvfb@v1 with: - run: dotnet cake --target Publish --ref ${{ github.ref }} --run ${{ github.run_number }} + run: dotnet cake --target Publish --ref ${{ github.ref }} --buildNum ${{ github.run_number }} env: NUGET_KEY: ${{ secrets.NUGET_KEY }} BAGET_KEY: ${{ secrets.BAGET_KEY }} @@ -41,7 +41,7 @@ jobs: - name: Restore tools run: dotnet tool restore - name: Run cake - run: dotnet cake --target Document --ref ${{ github.ref }} --run ${{ github.run_number }} + run: dotnet cake --target Document --ref ${{ github.ref }} --buildNum ${{ github.run_number }} - name: Deploy if: startsWith(github.ref, 'refs/tags/') # this is a beautiful way to deploy a website and i will not take any criticism