We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0aa3351 commit fb2924fCopy full SHA for fb2924f
1 file changed
.github/workflows/04-passing-data.yaml
@@ -85,3 +85,17 @@ jobs:
85
echo "Repo variable: $EXAMPLE_REPOSITORY_VARIABLE"
86
echo "Env secret (masked): $EXAMPLE_ENVIRONMENT_SECRET"
87
echo "Env variable: $EXAMPLE_ENVIRONMENT_VARIABLE"
88
+
89
+ job-artifact:
90
+ runs-on: ubuntu-24.04
91
+ steps:
92
+ - name: Create artifact file
93
+ run: |
94
+ echo "This will be stored as an artifact!" > artifact.txt
95
+ echo "Generated by job-artifact on $(date)" >> artifact.txt
96
97
+ - name: Upload artifact
98
+ uses: actions/upload-artifact@v4
99
+ with:
100
+ name: example-artifact
101
+ path: artifact.txt
0 commit comments