Merge pull request #2249 from Margen67/ci

CI.yml: Remove unneeded env var
.azure-pipelines.yml: Fix exclusions
This commit is contained in:
RadWolfie 2021-06-29 20:53:18 -05:00 committed by GitHub
commit 74138d14cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -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

View File

@ -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 }}'