Skip to content

Commit

Permalink
部署流水线unzip不会再打印内容了
Browse files Browse the repository at this point in the history
  • Loading branch information
shuiping233 committed Nov 25, 2024
1 parent b9cf168 commit a658079
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/DeployAutoArchiving.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
- name: Pull auto archiving script
run: |
wget $AUTO_ARCHIVING_SCRIPT_ARCHIVE_URL
unzip main.zip
cp -fv ./rn_issues_auto_archiving-main/config ./
cp -fv ./rn_issues_auto_archiving-main/.github ./
cp -fv ./rn_issues_auto_archiving-main/rn_issue_auto_archiving ./
unzip -q main.zip
cp -rfv ./rn_issues_auto_archiving-main/config ./
cp -rfv ./rn_issues_auto_archiving-main/.github ./
cp -rfv ./rn_issues_auto_archiving-main/rn_issue_auto_archiving ./
content=$(<"$AUTO_ARCHIVING_YML_PATH")
updated_content=$(echo "$content" | sed 's/TARGET_BRANCH:[[:space:]]*main/TARGET_BRANCH: master/g')
echo "$updated_content" >"$AUTO_ARCHIVING_YML_PATH"
Expand Down

0 comments on commit a658079

Please sign in to comment.