From 7a2843719989f6b8bd55b1c1ff1e9d3cf2f6b697 Mon Sep 17 00:00:00 2001 From: Lucio Date: Thu, 16 Nov 2023 16:10:58 -0600 Subject: [PATCH] test4 --- .gitea/workflows/test-json.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/test-json.yaml diff --git a/.gitea/workflows/test-json.yaml b/.gitea/workflows/test-json.yaml new file mode 100644 index 0000000..458e439 --- /dev/null +++ b/.gitea/workflows/test-json.yaml @@ -0,0 +1,31 @@ +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: Generate JSON + run: echo '{"hola": "test"}' > 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 +