From bc8a4f72c1a7cab5cc98d2810bb29d1b9c6e2723 Mon Sep 17 00:00:00 2001 From: vaa <74602680+vaa2000@users.noreply.github.com> Date: Mon, 5 Feb 2024 01:02:19 +0530 Subject: [PATCH] Update learn-github-actions.yml --- .github/workflows/learn-github-actions.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/learn-github-actions.yml b/.github/workflows/learn-github-actions.yml index 2905fde..5ef6c12 100644 --- a/.github/workflows/learn-github-actions.yml +++ b/.github/workflows/learn-github-actions.yml @@ -11,3 +11,15 @@ jobs: node-version: '20' - run: npm install -g bats - run: bats -v + example-job: + name: Save output + runs-on: ubuntu-latest + steps: + - shell: bash + run: | + expr 1 + 1 > output.log + - name: Upload output file + uses: actions/upload-artifact@v4 + with: + name: output-log-file + path: output.log