diff --git a/.github/workflows/artifact.yml b/.github/workflows/artifact.yml new file mode 100644 index 0000000..4d356aa --- /dev/null +++ b/.github/workflows/artifact.yml @@ -0,0 +1,20 @@ +name: Workflow Demo + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Create a text file + run: echo "Hello, world!" > hello.txt + + - name: Archive text file + uses: actions/upload-artifact@v2 + with: + name: hello-artifact + path: hello.txt \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..5d8f6e7 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# artifacts-hands-on \ No newline at end of file