update test

Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
This commit is contained in:
Alex Lau 2023-09-22 01:00:13 +08:00
parent e45b4b21e8
commit b2136c96b7
No known key found for this signature in database
GPG Key ID: 3F28752074CC2261
2 changed files with 10 additions and 13 deletions

View File

@ -2,15 +2,13 @@ name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push] on: [push]
jobs: jobs:
hello_world_job: hello_world_job:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: opensuse container checkout test name: opensuse container checkout test
steps: steps:
- name: Hello world action step - name: Hello world action step
id: hello uses: https://src.opensuse.org/alexlau/gitea-actions-test/@v3
uses: https://src.opensuse.org/alexlau/gitea-actions-test/@v3 with:
with: who-to-greet: 'AvengerMoJo'
who-to-greet: 'AvengerMoJo' - name: Get the output time
# Use the output from the `hello` step run: echo "The time was ${{ steps.hello.outputs.time }}"
- name: Get the output time
run: echo "The time was ${{ steps.hello.outputs.time }}"

View File

@ -5,5 +5,4 @@ RUN zypper --non-interactive install osc
RUN zypper --non-interactive clean --all RUN zypper --non-interactive clean --all
COPY hello.sh /hello.sh COPY hello.sh /hello.sh
ENTRYPOINT ["/hello.sh"] ENTRYPOINT ["/hello.sh"]