mirror of
https://github.com/nektos/act.git
synced 2026-04-25 17:05:50 +03:00
[GH-ISSUE #132] Provide a way to install this thru Chocolatey #90
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#90
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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"
@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?
@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.
@cplee commented on GitHub (Mar 6, 2020):
Cool, i just signed up. I can add the key as a secret whenever you're ready
@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: 1I'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.
@cplee commented on GitHub (Mar 7, 2020):
I'll give it a shot! Send me what you have
@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.
@azchohfi commented on GitHub (Mar 10, 2020):
Nice! Thanks!