25 lines
592 B
YAML
25 lines
592 B
YAML
name: Script checkout test
|
|
|
|
on:
|
|
push:
|
|
branches: [ verify-script-checkout ]
|
|
|
|
jobs:
|
|
run-shared-script:
|
|
permissions:
|
|
contents: read
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Fetch the shared script repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
repository: TirSystem/github-action
|
|
ref: main
|
|
path: shared-scripts
|
|
|
|
- name: Run a script file from it
|
|
run: |
|
|
ls shared-scripts/tools
|
|
python3 shared-scripts/tools/build_wiki.py --hash Home
|
|
echo "RAN-FROM-FILE in ${{ gitea.repository }}"
|