Files
test-pipeline/.gitea/workflows/test-json.yaml
Workflow config file is invalid. Please check your config file: yaml: line 21: mapping values are not allowed in this context
2023-11-16 16:19:14 -06:00

32 lines
552 B
YAML

name: Gitea Actions Demo
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
generate-json:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: GenerateJSON
run: echo '{"key": "value"}' > data.json
- name: Display contents of directory
run: ls
- name: Upload JSON as artifact
uses: actions/upload-artifact@v2
with:
name: generated-json
path: data.json