Skip to content

add create artifact v2 workflow #1

add create artifact v2 workflow

add create artifact v2 workflow #1

name: Create and Upload Artifact
on: [push]
jobs:
build-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Create a text file
run: echo "Hello world" > artifact_text.txt
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: my-artifact
path: artifact_text.txt