diff --git a/.github/workflows/download.yml b/.github/workflows/download.yml new file mode 100644 index 0000000..b879a96 --- /dev/null +++ b/.github/workflows/download.yml @@ -0,0 +1,17 @@ +name: Test Download + +on: + workflow_dispatch: + +jobs: + stuff: + runs-on: ubuntu-latest + steps: + - uses: dawidd6/action-download-artifact@6f8f427fb41886a66b82ea11a5a15d1454c79415 + with: + workflow: upload.yml + workflow_conclusion: success + commit: ${{ github.sha }} + name: my-artifact + path: . + - run: ls -l diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml new file mode 100644 index 0000000..52b9906 --- /dev/null +++ b/.github/workflows/upload.yml @@ -0,0 +1,16 @@ +name: Test Upload + +on: + push: + branches: + - '**' + +jobs: + stuff: + runs-on: ubuntu-latest + steps: + - run: echo hello > world.txt + - uses: actions/upload-artifact@v4 + with: + name: my-artifact + path: world.txt