mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-08-14 06:51:52 +02:00
refactor: move act under internal
The runner is an application, not a library. `act/model` and `act/exprparser` were the last packages anything outside this repository consumed and they now live in actionslib, so nothing needs the rest of `act` to be importable, and keeping it importable invites the coupling that was just removed. Import paths only, the files are unchanged. Assisted-by: Codet:GPT-5.1-Codex
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
name: if-env-act-test
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
if_env_test:
|
||||
name: Test if env.ACT matching
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Should RUN, since we are running in act
|
||||
- name: Positive env.ACT match
|
||||
if: ${{ env.ACT }}
|
||||
shell: bash
|
||||
run: |
|
||||
echo "This workflow is run using act, continue!"
|
||||
echo "ACT: $ACT"
|
||||
exit 0
|
||||
|
||||
# Should SKIP, since we are running in act
|
||||
- name: Negative env.ACT match
|
||||
if: ${{ !env.ACT }}
|
||||
shell: bash
|
||||
run: |
|
||||
echo "This should be skipped since this workflow is run using act, fail!"
|
||||
echo "ACT: $ACT"
|
||||
exit 1
|
||||
Reference in New Issue
Block a user