From 4a6d9618b6a892add66b5c1b5ddea24ddd2e1b2d Mon Sep 17 00:00:00 2001 From: Andrea Valassi Date: Sat, 28 Sep 2024 12:11:04 +0200 Subject: [PATCH] wip --- .github/workflows/archiver.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/archiver.yml b/.github/workflows/archiver.yml index 3c8aa69c5d..25a4374124 100644 --- a/.github/workflows/archiver.yml +++ b/.github/workflows/archiver.yml @@ -22,22 +22,28 @@ jobs: run: | echo "HOME is ${HOME}" echo "Current directory is $(pwd)" + cd branch_PR + echo "Current directory is now $(pwd)" echo "Current branch is $(git branch --show-current)" .github/workflows/archiver.sh + mv cudacpp.tar.gz ${HOME} + mv VERSION.txt ${HOME} - name: release # See https://github.com/softprops/action-gh-release uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: | - cudacpp.tar.gz - VERSION.txt + ${HOME}/cudacpp.tar.gz + ${HOME}/VERSION.txt env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: create_infodat run: | echo "HOME is ${HOME}" echo "Current directory is $(pwd)" + cd branch_PR + echo "Current directory is now $(pwd)" echo "Current branch is $(git branch --show-current)" python3 .github/workflows/archiver.py version_info.dat mv version_info.dat ${HOME} @@ -50,6 +56,8 @@ jobs: run: | echo "HOME is ${HOME}" echo "Current directory is $(pwd)" + cd branch_INFO + echo "Current directory is now $(pwd)" echo "Current branch is $(git branch --show-current)" ls mv ${HOME}/version_info.dat .