Skip to content

Commit

Permalink
added electron output to nuspec
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Oct 16, 2021
1 parent c95ec58 commit 0732c34
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release-choco.yml
Expand Up @@ -36,7 +36,9 @@ jobs:
uses: crazy-max/ghaction-chocolatey@v1.6.0
with:
args: pack chocolatey\altair-graphql.nuspec
- run: dir
- run: dir C:\ProgramData\chocolatey\lib\altair-graphql
- run: dir C:\ProgramData\chocolatey\lib\altair-graphql\tools
- run: dir C:\ProgramData\chocolatey\lib\altair-graphql\bins
- name: chocolatey ...
uses: crazy-max/ghaction-chocolatey@v1.6.0
with:
Expand Down
1 change: 1 addition & 0 deletions chocolatey/altair-graphql.nuspec
Expand Up @@ -76,6 +76,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<files>
<!-- this section controls what actually gets packaged into the Chocolatey package -->
<file src="tools\**" target="tools" />
<file src="..\packages\altair-electron\out\**" target="bins" />
<!--Building from Linux? You may need this instead: <file src="tools/**" target="tools" />-->
</files>
</package>
2 changes: 1 addition & 1 deletion chocolatey/tools/chocolateyInstall.ps1
Expand Up @@ -3,7 +3,7 @@ $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
# TODO: Update urls
# $url = 'https://github.com/imolorhe/altair/releases/download/v2.4.3/altair_4.0.11_x64_win.exe'
# $url64 = 'https://github.com/imolorhe/altair/releases/download/v2.4.3/altair_4.0.11_x64_win.exe'
$fileLocation = Join-Path $toolsDir '..\..\packages\altair-electron\out\altair_4.0.11_x64_win.exe'
$fileLocation = Join-Path $toolsDir '..\bins\altair_4.0.11_x64_win.exe'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
unzipLocation = $toolsDir
Expand Down

0 comments on commit 0732c34

Please sign in to comment.