Fix directory names for artifacts

This commit is contained in:
gsemaj 2022-04-07 10:17:42 -04:00
parent b683152fbf
commit 685cee2561

View File

@ -122,15 +122,17 @@ jobs:
with: with:
submodules: recursive submodules: recursive
fetch-depth: 0 fetch-depth: 0
- run: mkdir ${{ github.sha }} - run: |
GITDESC=$(git describe --tags)
mkdir $GITDESC
echo "ARTDIR=$GITDESC" >> $GITHUB_ENV
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v3
with: with:
path: ${{ github.sha }} path: ${{ env.ARTDIR }}
- name: Upload artifacts - name: Upload artifacts
shell: bash shell: bash
run: | run: |
sudo apt install zip -y sudo apt install zip -y
ARTDIR=$(git describe --tags)
cd $ARTDIR cd $ARTDIR
for build in *; do for build in *; do
cd $build cd $build