2023-10-16 16:43:01 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
2023-10-16 17:35:29 +00:00
|
|
|
ls:
|
|
|
|
runs-on: docker
|
2023-10-16 18:08:28 +00:00
|
|
|
container:
|
|
|
|
image: git.php.fail/lubiana/container/php:8.2
|
2023-10-16 17:03:17 +00:00
|
|
|
steps:
|
2023-10-16 18:08:28 +00:00
|
|
|
- run: env | sort
|
2023-10-16 18:16:48 +00:00
|
|
|
- run: /usr/bin/git init $GITHUB_WORKSPACE
|
2023-10-16 18:33:37 +00:00
|
|
|
- run: echo $GITHUB_WORKSPACE
|
2023-10-16 18:16:48 +00:00
|
|
|
- run: /usr/bin/git remote add origin $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
|
2023-10-16 18:33:37 +00:00
|
|
|
- run: echo $GITHUB_SERVER_URL/$GITHUB_REPOSITORY
|
2023-10-16 18:46:39 +00:00
|
|
|
- run: echo $GITHUB_REF_NAME
|
2023-10-16 18:34:37 +00:00
|
|
|
- run: echo $GITHUB_TOKEN
|
2023-10-16 18:23:35 +00:00
|
|
|
- run: /usr/bin/git config --local gc.auto 0
|
2023-10-16 18:46:39 +00:00
|
|
|
- run: /usr/bin/git config -l
|
2023-10-16 18:48:23 +00:00
|
|
|
- run: "/usr/bin/git config --local http.extraheader \"AUTHORIZATION: basic $GITHUB_TOKEN\""
|
2023-10-16 18:46:39 +00:00
|
|
|
- run: /usr/bin/git config -l
|
2023-10-16 18:23:35 +00:00
|
|
|
- run: /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin $GITHUB_REF_NAME
|
|
|
|
|