From a858624fc8fa7b3e5762d49f72af35ca77f34ff9 Mon Sep 17 00:00:00 2001 From: Gleb Koval Date: Sun, 31 Dec 2023 12:37:14 +0600 Subject: [PATCH] initial commit --- .github/workflows/test-workflow.yaml | 26 ++++++++++++++++++++++++++ README.md | 3 +++ 2 files changed, 29 insertions(+) create mode 100644 .github/workflows/test-workflow.yaml create mode 100644 README.md diff --git a/.github/workflows/test-workflow.yaml b/.github/workflows/test-workflow.yaml new file mode 100644 index 0000000..b4a9bda --- /dev/null +++ b/.github/workflows/test-workflow.yaml @@ -0,0 +1,26 @@ +name: Test Workflow +on: + push: + branches: + - main + +jobs: + test-job: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Cache Data + id: cache-data + uses: actions/cache@v3 + with: + path: data.txt + key: ${{ runner.os }}-data + + - name: Generate Data + if: steps.cache-data.outputs.cache-hit != 'true' + run: | + echo Doing things! + echo Hello World! > data.txt + + - name: Use Data + run: cat data.txt diff --git a/README.md b/README.md new file mode 100644 index 0000000..8e69a53 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Test repository for Gitea Actions + +See [kovalhome#17](https://git.koval.net/cyclane/kovalhome/issues/17). \ No newline at end of file