From 33e55721f6329a82b7fed1c756f801d1a5586351 Mon Sep 17 00:00:00 2001 From: shanmite Date: Thu, 26 Aug 2021 15:25:09 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E6=89=93=E5=8C=85?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/pkg.yml | 4 ++-- script/pkg/pkg.ps1 | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pkg.yml b/.github/workflows/pkg.yml index 2e0a54f..a2a0f38 100644 --- a/.github/workflows/pkg.yml +++ b/.github/workflows/pkg.yml @@ -50,7 +50,7 @@ jobs: - name: 'Upload to artifact' uses: actions/upload-artifact@v2 with: - name: dist_arm64 + name: nlts-linux-arm64 path: dist/ pkg_armv7: runs-on: ubuntu-latest @@ -68,5 +68,5 @@ jobs: - name: 'Upload to artifact' uses: actions/upload-artifact@v2 with: - name: dist_armv7 + name: nlts-linux-armv7 path: dist/ \ No newline at end of file diff --git a/script/pkg/pkg.ps1 b/script/pkg/pkg.ps1 index b2b5ab0..8c94d1b 100644 --- a/script/pkg/pkg.ps1 +++ b/script/pkg/pkg.ps1 @@ -49,7 +49,7 @@ foreach ($TRI in $TRIARR) { New-Item -Path $DIR -Name "update.bat" -ItemType File -Value "@echo off && lottery update && pause" -Force } - Compress-Archive -Path $DIR -DestinationPath "$($DIR)-$(Get-Date -Format "yyyyMMd")" -Force + Compress-Archive -Path $DIR -DestinationPath $DIR -Force } Remove-Item -Path $ENV_FILE