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

1
.gitignore vendored Normal file
View file

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