Skip to content

test ci

test ci #7

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.txt
- name: Upload both artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.target }}-text
path: "*.txt"
runs-on: macos-latest

Check failure on line 21 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test.yaml

Invalid workflow file

You have an error in your yaml syntax on line 21
steps:
- name: Create a build artifact
run: echo "Hello, world!" > hello.txt
- name: Upload both artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ env.target }}-text
path: "*.txt"
download:
needs: upload
runs-on: ubuntu-latest
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
pattern: "*-vsix"
path: artifacts-destination
merge-multiple: true
- name: List artifacts
run: ls && echo "---" && ls artifacts-destination