From 9166c7909dafcb6234b05877acba3edd715e986d Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Thu, 26 Oct 2023 16:15:24 +0000 Subject: [PATCH] update example --- .github/workflows/zenith.yml | 2 +- example/.fluentci/src/dagger/jobs.ts | 14 +++----------- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/zenith.yml b/.github/workflows/zenith.yml index c1fb7ac..7c55e6d 100644 --- a/.github/workflows/zenith.yml +++ b/.github/workflows/zenith.yml @@ -4,7 +4,7 @@ name: Zenith Example on: push: branches: - - zenith + - main jobs: tests: diff --git a/example/.fluentci/src/dagger/jobs.ts b/example/.fluentci/src/dagger/jobs.ts index 0ac279d..768f037 100644 --- a/example/.fluentci/src/dagger/jobs.ts +++ b/example/.fluentci/src/dagger/jobs.ts @@ -15,17 +15,9 @@ export const execLane = async (name: string, src = ".") => { const ctr = withEnv(withSrc(baseCtr, client, context)) .withEnvVariable("NODE_OPTIONS", "--max-old-space-size=4096") - .withExec(["sh", "-c", 'eval "$(devbox global shellenv)" && bun install']) - .withExec([ - "sh", - "-c", - 'eval "$(devbox global shellenv)" && bundle install', - ]) - .withExec([ - "sh", - "-c", - `eval "$(devbox global shellenv)" && bundle exec fastlane android ${name}`, - ]); + .withExec(["bun", "install"]) + .withExec(["bundle", "install"]) + .withExec(["bundle", "exec", "fastlane", "android", name]); const result = await ctr.stdout();