Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

Commit

Permalink
ci: change artifact to release
Browse files Browse the repository at this point in the history
  • Loading branch information
SamadiPour committed Jan 3, 2024
1 parent 35be4b8 commit d1c2575
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/daily_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,14 @@ jobs:
run: |
python artifact_generator.py
- name: Upload Artifact
uses: actions/upload-artifact@v4
- name: Upload result as release
uses: ncipollo/release-action@v1
with:
path: artifact
artifacts: "artifact/*"
token: ${{ secrets.GITHUB_TOKEN }}

- uses: dev-drprasad/delete-older-releases@v0.3.2
with:
keep_latest: 14
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d1c2575

Please sign in to comment.