Throwaway: run a script file fetched from TirSystem/github-action
Script checkout test / run-shared-script (push) Successful in 4s
Script checkout test / run-shared-script (push) Successful in 4s
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
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 }}"
|
||||||
Reference in New Issue
Block a user