Add .gitea/workflows/demo.yaml
Gitea Actions Demo / First-Dummy (push) Has been cancelled
Gitea Actions Demo / Demo-Actions (push) Has been cancelled

This commit is contained in:
2026-04-08 19:43:46 +00:00
parent 3a11504384
commit de8d2bad53
+51
View File
@@ -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