From 685cee2561909ed242077549a7775826bbd0b874 Mon Sep 17 00:00:00 2001 From: gsemaj Date: Thu, 7 Apr 2022 10:17:42 -0400 Subject: [PATCH] Fix directory names for artifacts --- .github/workflows/check-builds.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-builds.yaml b/.github/workflows/check-builds.yaml index babf551..8f1859d 100644 --- a/.github/workflows/check-builds.yaml +++ b/.github/workflows/check-builds.yaml @@ -122,15 +122,17 @@ jobs: with: submodules: recursive fetch-depth: 0 - - run: mkdir ${{ github.sha }} + - run: | + GITDESC=$(git describe --tags) + mkdir $GITDESC + echo "ARTDIR=$GITDESC" >> $GITHUB_ENV - uses: actions/download-artifact@v3 with: - path: ${{ github.sha }} + path: ${{ env.ARTDIR }} - name: Upload artifacts shell: bash run: | sudo apt install zip -y - ARTDIR=$(git describe --tags) cd $ARTDIR for build in *; do cd $build