[GH-ISSUE #132] Provide a way to install this thru Chocolatey #90

Closed
opened 2026-03-01 21:39:59 +03:00 by kerem · 7 comments
Owner

Originally created by @azchohfi on GitHub (Mar 6, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/132

It would be so much easier to install this thru a simple "choco install act"

Originally created by @azchohfi on GitHub (Mar 6, 2020). Original GitHub issue: https://github.com/nektos/act/issues/132 It would be so much easier to install this thru a simple "choco install act"
Author
Owner

@cplee commented on GitHub (Mar 6, 2020):

Cool idea @azchohfi - I don't know much about Chocolately, is this something you'd be able to help with?

<!-- gh-comment-id:595953417 --> @cplee commented on GitHub (Mar 6, 2020): Cool idea @azchohfi - I don't know much about Chocolately, is this something you'd be able to help with?
Author
Owner

@azchohfi commented on GitHub (Mar 6, 2020):

I'll try to spend some cycles! The only thing we'll need from you, so you own the package on chocolatey, is to create an account an add the API Key. I'll let you know here.

<!-- gh-comment-id:595969775 --> @azchohfi commented on GitHub (Mar 6, 2020): I'll try to spend some cycles! The only thing we'll need from you, so you own the package on chocolatey, is to create an account an add the API Key. I'll let you know here.
Author
Owner

@cplee commented on GitHub (Mar 6, 2020):

Cool, i just signed up. I can add the key as a secret whenever you're ready

<!-- gh-comment-id:595974190 --> @cplee commented on GitHub (Mar 6, 2020): Cool, i just signed up. I can add the key as a secret whenever you're ready
Author
Owner

@azchohfi commented on GitHub (Mar 7, 2020):

It's being hard to build the whole thing, since, I think, building on Windows is not supported. I have WSL (Ubuntu) and it did build after I installed the dependencies (go, etc), but simply running the release task is not actually building anything:
⨯ release failed after 0.02s error=failed to generate snapshot name: template: tmpl:1:7: executing "tmpl" at <.Env.SNAPSHOT_VERSION>: map has no entry for key "SNAPSHOT_VERSION"
[push/release] ::error::The process '/home/actions/temp/1639e947-6824-4220-a837-ff98db1aecb1/goreleaser' failed with exit code 1
[push/release] Failure - GoReleaser
Error: exit with FAILURE: 1

I'll just build the nuspec file. Could you integrate it with the gorelease? The chocolatey command line tool needs to run on linux, but it does work on mono.

<!-- gh-comment-id:596021393 --> @azchohfi commented on GitHub (Mar 7, 2020): It's being hard to build the whole thing, since, I think, building on Windows is not supported. I have WSL (Ubuntu) and it did build after I installed the dependencies (go, etc), but simply running the release task is not actually building anything: ⨯ release failed after 0.02s error=failed to generate snapshot name: template: tmpl:1:7: executing "tmpl" at <.Env.SNAPSHOT_VERSION>: map has no entry for key "SNAPSHOT_VERSION" [push/release] ❗ ::error::The process '/home/actions/temp/1639e947-6824-4220-a837-ff98db1aecb1/goreleaser' failed with exit code 1 [push/release] ❌ Failure - GoReleaser Error: exit with `FAILURE`: 1 I'll just build the nuspec file. Could you integrate it with the gorelease? The chocolatey command line tool needs to run on linux, but it does work on mono.
Author
Owner

@cplee commented on GitHub (Mar 7, 2020):

I'll give it a shot! Send me what you have

<!-- gh-comment-id:596025692 --> @cplee commented on GitHub (Mar 7, 2020): I'll give it a shot! Send me what you have
Author
Owner

@azchohfi commented on GitHub (Mar 7, 2020):

https://github.com/nektos/act/pull/139
Running choco on linux:
https://www.onitato.com/post/running-chocolatey-on-linux/
Once you can run it, then a simple:
choco pack act.nuspec --version 0.2.6
choco apiKey $(SECRET)
choco push act.0.2.6.nupkg

The only missing piece is the integration with the build system.

<!-- gh-comment-id:596033618 --> @azchohfi commented on GitHub (Mar 7, 2020): https://github.com/nektos/act/pull/139 Running choco on linux: https://www.onitato.com/post/running-chocolatey-on-linux/ Once you can run it, then a simple: choco pack act.nuspec --version 0.2.6 choco apiKey $(SECRET) choco push act.0.2.6.nupkg The only missing piece is the integration with the build system.
Author
Owner

@azchohfi commented on GitHub (Mar 10, 2020):

Nice! Thanks!

<!-- gh-comment-id:596883233 --> @azchohfi commented on GitHub (Mar 10, 2020): Nice! Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#90
No description provided.