Update litecoin_updater.yml

This commit is contained in:
MMDRZA
2025-03-04 01:08:44 +03:00
committed by GitHub
parent 4351b83892
commit 01b09cf03c

View File

@@ -1,8 +1,8 @@
name: Litecoin Updater
on:
# schedule:
# - cron: '0 0 * * *'
schedule:
- cron: '0 5 * * *'
workflow_dispatch:
inputs:
logLevel:
@@ -60,14 +60,26 @@ jobs:
- name: remove py file
run: rm -r *.py
- name: readme update
run: |
export COIN=Litecoin
export UPDATE_TIME=${{ env.UPDATE_TIME }}
export FILE_ALL_NAME=Latest_Litecoin_Addresses.tsv.gz
export FILE_ALL_SIZE=${{ env.Latest_Litecoin_Addresses_tsv_gz_size }}
export FILE_ALL_URL=${{ env.Latest_Litecoin_Addresses_tsv_gz_url }}
export FILE_RICH_NAME=Latest_Rich_Litecoin_Addresses_txt_gz
export FILE_RICH_SIZE=${{ env.Latest_Rich_Litecoin_Addresses_txt_gz_size }}
export FILE_RICH_URL=${{ env.Latest_Rich_Litecoin_Addresses_txt_gz_url }}
envsubst < .github/README.alt.template.md > LITECOIN/README.md
- name: Create GitHub Release
id: create_release
uses: softprops/action-gh-release@v2
with:
tag_name: "Litecoin"
name: "Latest Litecoin ${{ env.UPDATE_TIME_LITECOIN }}"
name: "Latest Litecoin ${{ env.UPDATE_TIME }}"
body: |
## New Release : Litecoin Address Wallet `${{ env.UPDATE_TIME_LITECOIN }}`
## New Release : Litecoin Address Wallet `${{ env.UPDATE_TIME }}`
Latest All Litecoin Address Wallets with Balance and Latest Rich Litecoin Addresses .
@@ -76,7 +88,7 @@ jobs:
- Filter Minimum Balance for Rich File : `0.1 LTC`
> [!NOTE]
> Latest Update : `${{ env.UPDATE_TIME_LITECOIN }}`
> Latest Update : `${{ env.UPDATE_TIME }}`
### Donate
@@ -89,4 +101,10 @@ jobs:
${{ env.Latest_Litecoin_Addresses_tsv_gz }}
${{ env.Latest_Rich_Litecoin_Addresses_txt_gz }}
- name: Update Repo
run: |
git config --global user.name 'github-actions'
git config --global user.email 'github-actions@github.com'
git add LITECOIN/README.md
git commit -m 'LITECOIN Updated : ${{ env.UPDATE_TIME }}'
git push origin main