ci-demo/.gitea/workflows/actions.yaml

30 lines
561 B
YAML

name: TestActions
on:
push:
tag:
- '*'
- '**'
branches:
- '*'
- '!main'
jobs:
Test:
name: Test
runs-on: ubuntu-latest
steps:
- run: echo "${{ toJson(github) }}"
- run: echo "${{ toJson(runner) }}"
- run: echo "${{ toJson(gitea) }}"
- run: echo "${{ toJson(job) }}"
- name: "Echo ENV"
run: echo "${{ toJson(env) }}"
env:
TEST: wuhu
NUM: 123
BOOL: true
- name: "Test ENV"
run: echo "$TEST"
env:
TEST: wuhu