Skip to content

Minimal example for running workflows via act without github? #83

Answered by ChristopherHX
kreha1 asked this question in Q&A
Discussion options

You must be logged in to vote

You mean this component https:/ChristopherHX/act?
It has an undocumented flag to run on your host machine for example

on: push
jobs:
  _:
    runs-on: self-hosted
    steps:
    - run: echo "Run without docker"

Run act like

act -P self-hosted=-self-hosted

I have planned that this mode will be integrated in nektos/act, nektos/act#1293

I prefer to use actions/runner to run things locally on supported platforms and created this drop in replacement in 2021 for act https:/ChristopherHX/runner.server/, this programm understands the flag -P self-hosted=-self-hosted too.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kreha1
Comment options

@ChristopherHX
Comment options

@kreha1
Comment options

Answer selected by kreha1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants