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

27 lines
527 B
YAML
Raw Normal View History

2023-10-18 08:52:15 +08:00
name: TestActions
on:
push:
branches:
- '*'
- '!main'
jobs:
Test:
name: Test
runs-on: ubuntu-latest
steps:
2023-10-18 08:58:31 +08:00
- run: echo "${{ toJson(github) }}"
- run: echo "${{ toJson(runner) }}"
- run: echo "${{ toJson(gitea) }}"
2023-10-18 09:07:30 +08:00
- run: echo "${{ toJson(job) }}"
2023-10-18 09:09:41 +08:00
- name: "Echo ENV"
run: echo "${{ toJson(env) }}"
env:
TEST: wuhu
NUM: 123
2023-10-18 09:12:41 +08:00
BOOL: true
- name: "Test ENV"
2023-10-18 09:13:40 +08:00
run: echo "$TEST"
2023-10-18 09:12:41 +08:00
env:
TEST: wuhu