Skip to content

Commit

Permalink
ci: 🐛 Fix action-gh-release config
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-s-betke committed May 4, 2021
1 parent 14a601a commit 3b453d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 36 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 }}
28 changes: 0 additions & 28 deletions GitReleaseManager.yaml

This file was deleted.

0 comments on commit 3b453d7

Please sign in to comment.