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,29 @@
|
||||
on: push
|
||||
jobs:
|
||||
prepare:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |
|
||||
echo '::set-output name=matrix::["a", "b"]'
|
||||
id: r1
|
||||
outputs:
|
||||
matrix: ${{steps.r1.outputs.matrix}}
|
||||
helix: steady
|
||||
evalm:
|
||||
needs:
|
||||
- prepare
|
||||
strategy:
|
||||
matrix:
|
||||
${{needs.prepare.outputs.helix}}: |-
|
||||
${{fromJson(needs.prepare.outputs.matrix)}}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check if the matrix key doesn't ends up unevaluated
|
||||
run: |
|
||||
echo $MATRIX
|
||||
exit ${{matrix['${{needs.prepare.outputs.helix}}'] && '1' || '0'}}
|
||||
env:
|
||||
MATRIX: ${{toJSON(matrix)}}
|
||||
- name: Check if the evaluated matrix key contains a value
|
||||
run: |
|
||||
exit ${{matrix[needs.prepare.outputs.helix] && '0' || '1'}}
|
||||
Reference in New Issue
Block a user