initial commit
This commit is contained in:
commit
a858624fc8
|
@ -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
|
Reference in New Issue