Skip to content

Commit

Permalink
Fix error notifying in winget-deletion CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxBQb committed Jul 20, 2023
1 parent a4e967a commit c93aacf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/winget-deletion.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ on:
workflow_dispatch:

jobs:
greet:
delete_repo:
runs-on: windows-latest
steps:
- name: Remove winget-package-fork
shell: cmd
run: 'curl -sf https://github.com/MaxBQb/winget-pkgs > NULL && curl -L -X DELETE -H "Authorization: Bearer ${{ secrets.DEL_TOKEN }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/MaxBQb/winget-pkgs'
continue-on-error: true
run: 'curl -sf https://github.com/MaxBQb/winget-pkgs > NULL && curl -L -X DELETE -H "Authorization: Bearer ${{ secrets.DEL_TOKEN }}" -H "X-GitHub-Api-Version: 2022-11-28" https://api.github.com/repos/MaxBQb/winget-pkgs || echo "Nothing found, skip action..."'

0 comments on commit c93aacf

Please sign in to comment.