Add python_action.yaml

This commit is contained in:
Hang Cui
2025-10-22 16:17:12 -07:00
parent a36f405466
commit deedd0a026
3 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
name: Custom Python Action
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Run Custom Action
uses: ./.gitea/actions/python-action
with:
name: 'Hang'
id: custom-action
- name: Print Processed Name
run: |
echo "Processed Name from python_action.yaml: ${{ steps.custom-action.outputs.processed-name }}"
echo "Workdir from python_action.yaml"
ls -la