test2
This commit is contained in:
parent
391fb1876a
commit
cb756c787e
1 changed files with 4 additions and 4 deletions
8
.github/workflows/test.yaml
vendored
8
.github/workflows/test.yaml
vendored
|
|
@ -10,25 +10,25 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Create a build artifact
|
||||
run: echo "Hello, world!" > hello-ubuntu.txt
|
||||
run: mkdir text && echo "Hello, world!" > text/hello-ubuntu.txt
|
||||
|
||||
- name: Upload both artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ubuntu-text
|
||||
path: "*.txt"
|
||||
path: "text/*.txt"
|
||||
|
||||
upload2:
|
||||
runs-on: macos-latest
|
||||
steps:
|
||||
- name: Create a build artifact
|
||||
run: echo "Hello, world!" > hello-mac.txt
|
||||
run: mkdir text && echo "Hello, world!" > text/hello-mac.txt
|
||||
|
||||
- name: Upload both artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: macos-text
|
||||
path: "*.txt"
|
||||
path: "text/*.txt"
|
||||
|
||||
download:
|
||||
needs: [upload, upload2]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue