Skip to content

[test] back to v4

[test] back to v4 #18

Workflow file for this run

name: actions-syntax-test
# Controls when the action will run.
on:
workflow_dispatch:
push:
env:
GITHUB_REPOSITORY_NAME: ${{ github.event.repository.name }}
jobs:
multi-checkout:
runs-on: ubuntu-latest
steps:
- name: GITHUB_WORKSPACE, the default working directory on the runner for steps
run: echo "GITHUB_WORKSPACE=${GITHUB_WORKSPACE}"
- uses: actions/checkout@main
- name: GITHUB_WORKSPACE, the default location of your repository when using the checkout action.
run: echo "GITHUB_WORKSPACE=${GITHUB_WORKSPACE}, assert equals to /home/runner/work/${GITHUB_REPOSITORY_NAME}/${GITHUB_REPOSITORY_NAME}"; ls
- uses: actions/checkout@main
with:
repository: davidkhala/davidkhala
- run: echo "GITHUB_WORKSPACE=${GITHUB_WORKSPACE}, assert not equals to"; /bin/pwd
name: GITHUB_WORKSPACE will not change with multiple checkout