Skip to content

Commit 30998fe

Browse files
committed
Release v2.1.1
1 parent eb014eb commit 30998fe

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

README.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
## Version Release
2525
This Is Latest Release
2626

27-
$version_release = 2.1.0
27+
$version_release = 2.1.1
2828

2929
What's New??
3030

@@ -38,6 +38,7 @@ What's New??
3838
## Guide Sources (Github Action)
3939
- [Download Artifact From Github Action](https://github.com/actions/download-artifact)
4040
- [Upload Artifact From Github Action](https://github.com/actions/upload-artifact)
41+
- [Remove Artifact](https://github.com/c-hive/gha-remove-artifacts)
4142

4243
## How To Use Workflows
4344

@@ -157,6 +158,33 @@ jobs:
157158
### App bundle(s) release generated
158159
![ScreenShot](https://raw.githubusercontent.com/amirisback/automated-build-android-app-with-github-action/master/docs/image/ss-bundle.png?raw=true)
159160
161+
### Clean Up Artifact
162+
```yml
163+
name: Generated APK AAB (Clean)
164+
165+
on:
166+
# Allows you to run this workflow manually from the Actions tab
167+
workflow_dispatch:
168+
169+
schedule:
170+
# Every day at 1am
171+
- cron: '0 1 * * *'
172+
173+
jobs:
174+
remove-old-artifacts:
175+
runs-on: ubuntu-latest
176+
timeout-minutes: 10
177+
178+
steps:
179+
- name: Clean all artifacts
180+
uses: c-hive/gha-remove-artifacts@v1
181+
with:
182+
age: '60 seconds' # '<number> <unit>', e.g. 5 days, 2 years, 90 seconds, parsed by Moment.js
183+
# Optional inputs
184+
# skip-tags: true
185+
# skip-recent: 5
186+
```
187+
160188
## Colaborator
161189
Very open to anyone, I'll write your name under this, please contribute by sending an email to me
162190

0 commit comments

Comments
 (0)