Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Add log artifact in main workflow with 30-day expiry #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Aug 6, 2023

Description

This PR adds a step to the main workflow that saves the logs as an artifact at the end of the workflow. Additionally, it sets the expiration date of the artifact to 30 days.

Summary of Changes

  • Modified the .github/workflows/main.yml file to add a step that saves the logs as an artifact using the actions/upload-artifact action.
  • Set the expiration date of the artifact to 30 days using the expires-in option in the actions/upload-artifact action.

Fixes #10.


To checkout this PR branch, run the following command in your terminal:

git checkout sweep/add-log-artifact

To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.

@sweep-ai sweep-ai bot added the sweep Assigns Sweep to an issue or pull request. label Aug 6, 2023
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 6, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: f79c6bf
Status: ✅  Deploy successful!
Preview URL: https://0df24083.homepage-11n.pages.dev
Branch Preview URL: https://sweep-add-log-artifact.homepage-11n.pages.dev

View logs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
sweep Assigns Sweep to an issue or pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sweep: add a log artifact in the main workflow
1 participant