From 3b453d78c72cdfa91f2b9ae72a98d66dab7c5621 Mon Sep 17 00:00:00 2001 From: "Sergey S. Betke" Date: Tue, 4 May 2021 09:49:57 +0300 Subject: [PATCH] ci: :bug: Fix action-gh-release config #37 --- .github/workflows/github-release.yml | 15 +++++++-------- GitReleaseManager.yaml | 28 ---------------------------- 2 files changed, 7 insertions(+), 36 deletions(-) delete mode 100644 GitReleaseManager.yaml diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index dc9f35a4..4f9a3c19 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -35,11 +35,11 @@ jobs: shell: powershell run: | Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; - Install-Module -Name InvokeBuild -Verbose | Out-Null; - Install-Module -Name 7Zip4Powershell -Verbose | Out-Null; - Register-PackageSource -Name 'nuget.org' -Location 'https://api.nuget.org/v3/index.json' -ProviderName NuGet -Trusted -Force -Verbose | Out-Null; - Install-Package -Name 'Saxon-HE' -MinimumVersion '9.8' -MaximumVersion '9.8.999' -ProviderName NuGet -Verbose | Out-Null; - Install-Package -Name 'QRCoder' -ProviderName NuGet -SkipDependencies -Verbose | Out-Null; + Install-Module -Name InvokeBuild | Out-Null; + Install-Module -Name 7Zip4Powershell | Out-Null; + Register-PackageSource -Name 'nuget.org' -Location 'https://api.nuget.org/v3/index.json' -ProviderName NuGet -Trusted -Force | Out-Null; + Install-Package -Name 'Saxon-HE' -MinimumVersion '9.8' -MaximumVersion '9.8.999' -ProviderName NuGet | Out-Null; + Install-Package -Name 'QRCoder' -ProviderName NuGet -SkipDependencies | Out-Null; - name: Install GitVersion uses: gittools/actions/gitversion/setup@v0.9.9 @@ -56,8 +56,7 @@ jobs: shell: powershell run: | Import-Module -Name InvokeBuild | Out-Null; - Write-Information "Templates version: ${{ steps.gitversion.outputs.semVer }}" -InformationAction Continue; - Invoke-Build -Task Build -Version '${{ steps.gitversion.outputs.semVer }}' -Verbose; + Invoke-Build -Task Build -Version '${{ steps.gitversion.outputs.semVer }}'; - name: Create GitHub Release uses: softprops/action-gh-release@v1 @@ -68,6 +67,6 @@ jobs: files: | output/template/*.ott output/doc/*.odt - fail_on_unmatched_files: true + # fail_on_unmatched_files: true env: GITHUB_TOKEN: ${{ github.token }} diff --git a/GitReleaseManager.yaml b/GitReleaseManager.yaml deleted file mode 100644 index fff69af3..00000000 --- a/GitReleaseManager.yaml +++ /dev/null @@ -1,28 +0,0 @@ -create: - include-footer: false - include-sha-section: false - allow-update-to-published: true - -export: - include-created-date-in-title: false - -close: - use-issue-comments: true - issue-comment: |- - :tada: This issue has been resolved in version {milestone} :tada: - The release is available on: - - [GitHub Release](https://github.com/{owner}/{repository}/releases/tag/{milestone}) - -issue-labels-include: - - Breaking Change - - Bug - - Documentation - - Feature - - Improvement - - Question - -issue-labels-exclude: - - Build - - Question - -issue-labels-alias: []