diff --git a/.github/workflows/backup.yml b/.github/workflows/backup.yml index ce9ff00b..4e8ff217 100644 --- a/.github/workflows/backup.yml +++ b/.github/workflows/backup.yml @@ -26,10 +26,9 @@ jobs: uses: actions/upload-artifact@v2 with: name: backup - path: backup/main_backup_$(date +"%Y%m%d").tar.gz + path: backup/main_backup_$(bash -c 'echo $(date +"%Y%m%d").tar.gz') - name: Set up Git run: | git config --local user.email "miaogongzi0227@gmail.com" git config --local user.name "mgz0227" -