mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-08-08 01:45:03 +02:00
refactor: move getContainerActionPaths into step interface (#13)
* allows to specialize local vs remote action implementation * allow paths like ./.. for local action Closes https://gitea.com/actions-oss/act-cli/issues/12 Reviewed-on: https://gitea.com/actions-oss/act-cli/pulls/13 Co-authored-by: ChristopherHX <[email protected]> Co-committed-by: ChristopherHX <[email protected]>
This commit is contained in:
committed by
ChristopherHX
parent
ee2e0135d5
commit
ce0890578a
@@ -0,0 +1,19 @@
|
||||
on: push
|
||||
jobs:
|
||||
test-symlinks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create symlink
|
||||
run: |
|
||||
mkdir action-dir
|
||||
cat << 'EOF' > action-dir/action.yml
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
- run: echo test
|
||||
shell: bash
|
||||
EOF
|
||||
ln -s $PWD/action-dir ../action-sym
|
||||
- run: cat ../action-sym/action.yml
|
||||
- name: Verify symlink
|
||||
uses: ./../action-sym
|
||||
Reference in New Issue
Block a user