From de8d2bad532ae03dd348046cbfc0c5b3539f2f17 Mon Sep 17 00:00:00 2001 From: Hendrik Frahmann <474+hfrahmann@noreply.localhost> Date: Wed, 8 Apr 2026 19:43:46 +0000 Subject: [PATCH] Add .gitea/workflows/demo.yaml --- .gitea/workflows/demo.yaml | 51 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .gitea/workflows/demo.yaml diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml new file mode 100644 index 0000000..3df1476 --- /dev/null +++ b/.gitea/workflows/demo.yaml @@ -0,0 +1,51 @@ +name: Gitea Actions Demo +on: + push: + workflow_dispatch: + inputs: + logLevel: + description: 'Log level' + required: true + default: 'warning' + tags: + description: 'Test scenario tags' + +jobs: + First-Dummy: + runs-on: ubuntu-latest + steps: + + - name: Echo + run: | + echo "Dummy" + echo "Hello World" >> $GITHUB_STEP_SUMMARY + + Demo-Actions: + runs-on: ubuntu-latest + steps: + + - name: Echo + run: | + echo "🚀 Hello World" + echo "Log level: ${{ github.event.inputs.logLevel }}" + echo "Tags: ${{ github.event.inputs.tags }}" + + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: List files in the repository + run: ls -ls ${{ github.workspace }} + + - name: One + id: one-test + run: | + ABC="${{ secrets.GITEA_TOKEN }}" + echo "${{ secrets.GITEA_TOKEN }}" + echo "$ABC" + echo "BLABLA=${{ secrets.GITEA_TOKEN }}" >> $GITHUB_OUTPUT + + - name: Two + run: | + echo "Test: ${{ steps.one-test.outputs.BLABLA }}" + echo "Lorem Ipsum" >> $GITHUB_STEP_SUMMARY +