Skip to content

Commit

Permalink
Create work_with_artifacts.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
paulienleeuwenburgh authored Apr 14, 2024
1 parent a83431a commit 574b746
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/work_with_artifacts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: work with artifacts

on: workflow_dispatch

jobs:
upload-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

download-job:
needs: upload-job
runs-on: ubuntu-latest
steps:
- name: Download a single artifact
uses: actions/download-artifact@v4
with:
name: output-log-file

0 comments on commit 574b746

Please sign in to comment.