From 41e5abe0716521f8df0090770ad0c9bed63f307e Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Mon, 7 Mar 2022 20:43:31 -0500 Subject: [PATCH] ci: use absolute path for release tarball --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6311ef0ef..0c3a0375a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -81,10 +81,13 @@ jobs: env: DEBIAN_FRONTEND: noninteractive run: | + echo "Installing NPM dependencies..." 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 . + echo "Build release tarball... (this could take a while)" + mkdip -p /home/runner/work/release + tar -czf /home/runner/work/release/release.tar.gz -X dev/deploy/exclude-patterns.txt . - name: Update CHANGELOG id: changelog @@ -104,7 +107,7 @@ jobs: tag: ${{ env.PKG_VERSION }} name: ${{ env.PKG_VERSION }} body: ${{ steps.changelog.outputs.changes }} - artifacts: "../release.tar.gz" + artifacts: "/home/runner/work/release/release.tar.gz" token: ${{ secrets.GITHUB_TOKEN }} - name: Upload Build Artifacts @@ -113,4 +116,4 @@ jobs: with: name: artifacts path: | - ../release.tar.gz + /home/runner/work/release/release.tar.gz