From a1fe3e42d1495d67aa8503324387e3385160861a Mon Sep 17 00:00:00 2001 From: Christof Marti Date: Fri, 22 Mar 2024 07:58:48 +0100 Subject: [PATCH] test upload / download --- .github/workflows/download.yml | 17 +++++++++++++++++ .github/workflows/upload.yml | 16 ++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/workflows/download.yml create mode 100644 .github/workflows/upload.yml 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