diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index fb1ff7537..1e1071b0b 100644 --- a/.azure-pipelines.yml +++ b/.azure-pipelines.yml @@ -3,11 +3,13 @@ trigger: include: - '*' paths: - exclude: - - '.github/**' + exclude: # Azure Pipelines doesn't support recursive wildcards, see + - '.github/*' # https://developercommunity.visualstudio.com/t/support-wildcards-in-trigger-path-filters-1/366363 + - '.github/*/*' - '*.bat' - '.appveyor.yml' - - 'doc/**' + - 'doc/*/*' + - 'doc/*' pr: branches: @@ -15,10 +17,12 @@ pr: - '*' paths: exclude: - - '.github/**' + - '.github/*' + - '.github/*/*' - '*.bat' - '.appveyor.yml' - - 'doc/**' + - 'doc/*/*' + - 'doc/*' pool: vmImage: windows-latest diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index f69263a36..765b87e59 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -77,6 +77,5 @@ jobs: echo "::set-output name=tag_name::CI-$(git rev-parse --short HEAD)" - name: Create Release env: - GH_REPO: ${{ github.repository }} # https://github.com/cli/cli/issues/3556 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release create ${{ steps.git.outputs.tag_name }} artifacts/*.zip -p --target $GITHUB_SHA --title '${{ steps.git.outputs.tag_name }}'