Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/my-practice--artifacts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Practice Artifacts
on:
workflow_dispatch:

jobs:
produce-artifact:
name: Produce Artifacts
runs-on: ubuntu-24.04
steps:
- name: create artifact file
run: |
echo "Yo, this is me practicing writing github actiosn yo" > artifacts.txt
echo "This file was generated by 'Produce Articats'" >> artifacts.txt
- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: my_artifacts
path: artifacts.txt

consume-artifact:
name: Consume Artifacts
runs-on: ubuntu-24.04
needs: produce-artifact
steps:
- name: download artifact
uses: actions/download-artifact@v4
with:
name: my_artifact

- name: Print artifact
run: cat artifact.txt