test own action
Some checks failed
Build / A job to say hello (push) Failing after 8s

This commit is contained in:
lubiana 2024-06-16 11:12:08 +02:00
parent e3dfd7a191
commit e005ba7231
Signed by: lubiana
SSH key fingerprint: SHA256:gkqM8DUX4Blf6P52fycW8ISTd+4eAHH+Uzu9iyc8hAM
2 changed files with 11 additions and 20 deletions

View file

@ -6,25 +6,15 @@ on:
- main - main
jobs: jobs:
BuildAndDeploy: hello_world_job:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: name: A job to say hello
image: git.php.fail/lubiana/container/hugogit
steps: steps:
- name: Manually checkout - name: Hello world action step
env: id: hello
REPO: '${{ github.repository }}' uses: https://git.php.fail/lubiana/hello-world-podman@v1
TOKEN: '${{ secrets.GITHUB_TOKEN }}' with:
GIT_SERVER: 'git.php.fail' who-to-greet: 'Mona the Octocat'
run: | # Use the output from the `hello` step
git clone --branch $GITHUB_REF_NAME https://${TOKEN}@${GIT_SERVER}/${REPO}.git . - name: Get the output time
git fetch run: echo "The time was ${{ steps.hello.outputs.time }}"
git checkout ${{ github.head_ref }}
- name: list
run: |
env
ls
pwd
ls /opt
echo 'hallo' >> /opt/hostedtoolcache/lol.txt
cat /opt/hostedtoolcache/lol.txt

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.idea/