mirror of
https://gitea.com/gitea/act
synced 2024-11-27 07:08:57 +00:00
27 lines
611 B
YAML
27 lines
611 B
YAML
on:
|
|
push:
|
|
defaults:
|
|
run:
|
|
shell: sh
|
|
jobs:
|
|
test:
|
|
runs-on: self-hosted
|
|
steps:
|
|
- run: |
|
|
mkdir build
|
|
echo '#!/usr/bin/env sh' > build/testtool
|
|
echo 'echo Hi' >> build/testtool
|
|
chmod +x build/testtool
|
|
- run: |
|
|
echo '${{ tojson(runner) }}'
|
|
ls
|
|
echo '${{ github.workspace }}'
|
|
working-directory: ${{ github.workspace }}/build
|
|
- run: |
|
|
echo "$GITHUB_PATH"
|
|
echo '${{ github.workspace }}/build' > "$GITHUB_PATH"
|
|
cat "$GITHUB_PATH"
|
|
- run: |
|
|
echo "$PATH"
|
|
testtool
|