diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8086c2ea..c8be8436 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,9 +36,10 @@ jobs: - name: Archive Repository run: | - mkdir -p $GITHUB_WORKSPACE/assets - cp -r . $GITHUB_WORKSPACE/assets/m1-with-submodules - tar -czvf $GITHUB_WORKSPACE/assets/m1-with-submodules.tar.gz -C $GITHUB_WORKSPACE/assets m1-with-submodules + mkdir -p $RUNNER_TEMP/assets + cp -r . $RUNNER_TEMP/assets/m1-with-submodules + tar -czvf $RUNNER_TEMP/assets/m1-with-submodules.tar.gz -C $RUNNER_TEMP/assets m1-with-submodules + cp $RUNNER_TEMP/assets/m1-with-submodules.tar.gz $GITHUB_WORKSPACE/m1-with-submodules.tar.gz - name: Create Release @@ -59,7 +60,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: $GITHUB_WORKSPACE/assets/m1-with-submodules.tar.gz + asset_path: $GITHUB_WORKSPACE/m1-with-submodules.tar.gz asset_name: m1-with-submodules.tar.gz asset_content_type: application/gzip