From 512efa9dd3c1c09770b5a0cb8ca0a44ca6a7ef1b Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Mon, 7 Mar 2022 20:35:11 -0500 Subject: [PATCH] ci: write release tarball outside working dir --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4ec7c1962..6311ef0ef 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,7 +84,7 @@ jobs: npm install echo "Using version $PKG_VERSION_STRICT" sed -i -r -e "s/^__version__ += '.*'$/__version__ = '$PKG_VERSION_STRICT'/" ietf/__init__.py - tar -czf release.tar.gz -X dev/deploy/exclude-patterns.txt . + tar -czf ../release.tar.gz -X dev/deploy/exclude-patterns.txt . - name: Update CHANGELOG id: changelog @@ -104,7 +104,7 @@ jobs: tag: ${{ env.PKG_VERSION }} name: ${{ env.PKG_VERSION }} body: ${{ steps.changelog.outputs.changes }} - artifacts: "release.tar.gz" + artifacts: "../release.tar.gz" token: ${{ secrets.GITHUB_TOKEN }} - name: Upload Build Artifacts @@ -113,4 +113,4 @@ jobs: with: name: artifacts path: | - release.tar.gz + ../release.tar.gz