From 21b1a27e0039018e61114a52a7472fcf1cfa425d Mon Sep 17 00:00:00 2001 From: tasi788 Date: Tue, 8 Dec 2020 18:53:50 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=E2=80=8D=E2=99=80=EF=B8=8F=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E6=99=82=E9=96=93=E8=87=B3=E7=92=B0=E5=A2=83?= =?UTF-8?q?=E8=AE=8A=E6=95=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/280blocker.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/280blocker.yml b/.github/workflows/280blocker.yml index ff74d8f..bb0bae0 100644 --- a/.github/workflows/280blocker.yml +++ b/.github/workflows/280blocker.yml @@ -18,8 +18,11 @@ jobs: uses: wei/curl@master with: args: https://280blocker.net/files/280blocker_domain_ag_$(date +%Y%m).txt -o 280blocker/280blocker_domain_ag.txt + - name: get today date + id: date + run: echo "name=$(date +'%Y-%m-%d')" >> $GITHUB_ENV - name: push uses: actions-go/push@v1 with: commit-files: 280blocker/280blocker_domain_ag.txt, 280blocker/280blocker_adblock.txt - commit-message: "🤖 update 280blocker_$(date +%Y%m)" + commit-message: "🤖 update 280blocker_${{ steps.date.outputs.date }}"