act fails on MacOS: likely fixed already #2210
vinayjanardhanachari
started this conversation in
General
Replies: 1 comment
-
That means your job should run using ubuntu and that is still mapped to a docker container. jobs using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Using this to trigger:
act -W .github/workflows/bearer.yml -v -P macos-latest=-self-hosted
I have curl installed and seems to work.
Workflow:
name: Bearer
on:
push:
branches:
- main
permissions:
contents: read
jobs:
rule_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bearer
uses: bearer/bearer-action@v2
[Bearer/rule_check] [DEBUG] Writing entry to tarball workflow/1-composite-0.sh len:196 [Bearer/rule_check] [DEBUG] Extracting content to '/var/run/act' [Bearer/rule_check] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1-composite-0.sh] user= workdir= [Bearer/rule_check] [DEBUG] Exec command '[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/1-composite-0.sh]' [Bearer/rule_check] [DEBUG] Working directory '/Users/u249636/projects/sampletracker/src/hgsc-sampletracker-aws' | /var/run/act/workflow/1-composite-0.sh: line 7: curl: command not found [Bearer/rule_check] ❌ Failure - Main VERSION="" if [[ ! -z "$VERSION" ]]; then VERSION="v${VERSION#v}" fi
Beta Was this translation helpful? Give feedback.
All reactions