Merge pull request #2249 from Margen67/ci
CI.yml: Remove unneeded env var .azure-pipelines.yml: Fix exclusions
This commit is contained in:
commit
74138d14cc
|
@ -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
|
||||
|
|
|
@ -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 }}'
|
||||
|
|
Loading…
Reference in New Issue