From 9da21e63114650ba86b296fbffd830dcba89852e Mon Sep 17 00:00:00 2001 From: Hang Cui Date: Fri, 17 Oct 2025 12:30:38 -0700 Subject: [PATCH] Update workflows *.yaml --- .gitea/workflows/004_checkout_example.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/004_checkout_example.yaml diff --git a/.gitea/workflows/004_checkout_example.yaml b/.gitea/workflows/004_checkout_example.yaml new file mode 100644 index 0000000..0b26559 --- /dev/null +++ b/.gitea/workflows/004_checkout_example.yaml @@ -0,0 +1,19 @@ +name: Checkout Example + +on: + workflow_dispatch: + +jobs: + demo-checkout: + runs-on: ubuntu-latest + steps: + - name: List space + # workspace is a special variable containing the path to the working directory + # on the runner machine. Github is a context which we can access in expression ${{}}. + run: ls -la ${{ github.workspace }} + + - name: Checkout source code + uses: actions/checkout@v4 # use github action from repo github.com/actions/checkout + + - name: List space again + run: ls -la ${{ github.workspace }}