Files
Gitea_Action_Test/.gitea/workflows/006_passing_files.yaml
Hang Cui 96e8939def
All checks were successful
Upload Artifact Example / build-and-upload (push) Successful in 8s
Update repo
2025-10-17 15:40:06 -07:00

20 lines
509 B
YAML

name: Upload Artifact Example
on: [push]
jobs:
build-and-upload:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Create an artifact
run: echo "This is my artifact content." > my_artifact.txt
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: my-build-artifact
path: my_artifact.txt
retention-days: 5 # Optional: Set the retention period for the artifact