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 .