From 17c738e642595c7b1d0f8907ad0e528ddd727750 Mon Sep 17 00:00:00 2001 From: kira1928 Date: Tue, 18 Jun 2024 15:48:09 +0000 Subject: [PATCH] fix publish script and devcontainer --- .devcontainer/devcontainer.json | 6 +++++- .github/workflows/build.yml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7d9647988c03a..7db5429ce043e 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -12,5 +12,9 @@ ] } }, - "forwardPorts": [] + "forwardPorts": [], + "mounts": [ + "source=${localEnv:USERPROFILE}/.ssh,target=/root/.ssh,type=bind,consistency=cached" + ], + "postCreateCommand": "chmod 600 /root/.ssh/*" } \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cb9ada06c77c9..6e9be57db20c3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,7 +104,7 @@ jobs: - name: Zip artifacts run: | for dir in artifacts/*; do - zip -j -r "${dir##*/}.zip" "$dir" + zip -j -r "artifacts/${dir##*/}.zip" "$dir" done - name: Create release