From d9a32a4d2c16f35c6c7cdbf1a88fb6290ca53e13 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 11 Sep 2024 15:28:23 -0700 Subject: [PATCH] test workflow file --- .github/workflows/test.yaml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/test.yaml diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 000000000..03abf1e38 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,35 @@ +name: Test + +on: + push: + branches: + - nate/test-yaml + +jobs: + upload: + steps: + - name: Create a build artifact + run: echo "Hello, world!" > hello.txt + + - name: Create another + run: echo "Goodbye, world! > goodbye.txt" + + - name: Upload both artifacts + uses: actions/upload-artifact@v4 + with: + name: my-artifact + path: | + name: text-files + path: "*.txt" + + download: + steps: + - name: Download artifacts + uses: actions/download-artifact@v4 + with: + path: artifacts-destination + pattern: "*.txt" + merge-multiple: true + + - name: List artifacts + run: ls && echo "---" && ls artifacts-destination