Skip to content

test

test #13

Workflow file for this run

name: Test
on:
push:
branches:
- nate/test-yaml
jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Create a build artifact
run: echo "Hello, world!" > hello-ubuntu.txt
- name: Upload both artifacts
uses: actions/upload-artifact@v4
with:
name: ubuntu-text
path: "*.txt"
upload2:
runs-on: macos-latest
steps:
- name: Create a build artifact
run: echo "Hello, world!" > hello-mac.txt
- name: Upload both artifacts
uses: actions/upload-artifact@v4
with:
name: macos-text
path: "*.txt"
download:
needs: [upload, upload2]
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
pattern: "*-text"
path: artifacts-destination
merge-multiple: true
- name: List artifacts
run: ls && echo "---" && ls artifacts-destination