Skip to content

Commit

Permalink
Remove some workload for clearing cache
Browse files Browse the repository at this point in the history
  • Loading branch information
AbandonedCart committed Apr 5, 2024
1 parent 92a0be7 commit 522871a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 36 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ jobs:
- uses: actions/upload-artifact@v3
with:
name: TagMo-${{ env.GIT_HASH }}
retention-days: 1
path: |
${{steps.sign_main.outputs.signedReleaseFile}}
Expand All @@ -147,9 +148,9 @@ jobs:
files: |
${{steps.sign_main.outputs.signedReleaseFile}}
# - name: Discord webhook notification
# uses: distributhor/[email protected]
# env:
# webhook_type: 'json-extended'
# webhook_url: 'https://discord.com/api/webhooks/1126499633242308608/uBVJQ6nnh0bn2XBzsjNzASwRy2dd5AzzuNoEbNplebSG81NJXeYQVJ92NZvWg3sdm0pI/github'
# data: '{ "download": "${{ env.APK_LINK }}" }'
- name: Purge cache
if: ${{ ! startsWith(github.event.head_commit.message, 'Update ') }}
continue-on-error: true
uses: MyAlbum/purge-cache@v1
with:
max-age: 172800 # 2 days, default: 7 days since last use
30 changes: 0 additions & 30 deletions .github/workflows/artifacts.yml

This file was deleted.

0 comments on commit 522871a

Please sign in to comment.