mirror of
https://github.com/MetaCubeX/meta-rules-dat.git
synced 2024-12-27 19:04:15 +08:00
add update time
This commit is contained in:
parent
241ad7e6f2
commit
3ac6622c4b
10
.github/workflows/run.yml
vendored
10
.github/workflows/run.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
- name: Set variables
|
||||
run: |
|
||||
echo "RELEASE_NAME=Released on $(date +%Y%m%d%H%M)" >> $GITHUB_ENV
|
||||
echo "TAG_NAME=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV
|
||||
echo "BUILDTIME=$(TZ=Asia/Shanghai date)" >> $GITHUB_ENV
|
||||
echo "CHINA_DOMAINS_URL=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Clash/ChinaMax/ChinaMax_Domain.txt" >> $GITHUB_ENV
|
||||
echo "GOOGLE_DOMAINS_URL=https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/google.china.conf" >> $GITHUB_ENV
|
||||
echo "APPLE_DOMAINS_URL=https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/apple.china.conf" >> $GITHUB_ENV
|
||||
@ -258,13 +258,19 @@ jobs:
|
||||
tag: latest
|
||||
deleteOnlyFromDrafts: false
|
||||
|
||||
- run: |
|
||||
cat > release.txt << 'EOF'
|
||||
Release update at ${{ env.BUILDTIME }}
|
||||
EOF
|
||||
|
||||
- name: Release and upload assets
|
||||
uses: softprops/action-gh-release@v0.1.6
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
name: Latest
|
||||
tag_name: Latest
|
||||
draft: false
|
||||
prerelease: false
|
||||
body_path: release.txt
|
||||
files: |
|
||||
./publish/*
|
||||
env:
|
||||
|
Loading…
x
Reference in New Issue
Block a user