Skip to content

Commit

Permalink
always install arkade
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
tsirysndr committed Aug 6, 2024
1 parent f6139f0 commit d7c6727
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Show arkade version
run: |
type arakade
type arkade
type kind
type firecracker
kind version
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub fn chart(args: String) -> FnResult<String> {

#[plugin_fn]
pub fn get(args: String) -> FnResult<String> {
setup_arkade()?;
let stdout = dag()
.pipeline("get")?
.with_exec(vec!["arkade", "get", &args])?
Expand All @@ -31,6 +32,7 @@ pub fn get(args: String) -> FnResult<String> {

#[plugin_fn]
pub fn install(args: String) -> FnResult<String> {
setup_arkade()?;
let stdout = dag()
.pipeline("install")?
.with_exec(vec!["arkade", "install", &args])?
Expand All @@ -40,6 +42,7 @@ pub fn install(args: String) -> FnResult<String> {

#[plugin_fn]
pub fn oci(args: String) -> FnResult<String> {
setup_arkade()?;
let stdout = dag()
.pipeline("oci")?
.with_exec(vec!["arkade", "oci", &args])?
Expand All @@ -49,6 +52,7 @@ pub fn oci(args: String) -> FnResult<String> {

#[plugin_fn]
pub fn system(args: String) -> FnResult<String> {
setup_arkade()?;
let stdout = dag()
.pipeline("system")?
.with_exec(vec!["arkade", "system", &args])?
Expand Down

0 comments on commit d7c6727

Please sign in to comment.