Skip to content

Commit fdee9e0

Browse files
authored
v3.1.0
2 parents 9e0b1c6 + 3e50c2e commit fdee9e0

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/NightlyRelease.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ on:
6868
description: 'Multi-line string containing artifact:file:title asset descriptions.'
6969
required: true
7070
type: string
71+
tarball-name:
72+
type: string
73+
required: false
74+
default: '__pyTooling_upload_artifact__.tar'
7175

7276
jobs:
7377
Release:
@@ -251,6 +255,25 @@ jobs:
251255
continue
252256
fi
253257
downloadedArtifacts[$artifact]=1
258+
259+
echo -n " Checking for embedded tarball ... "
260+
if [[ -f "${artifact}/${{ inputs.tarball-name }}" ]]; then
261+
echo -e "${ANSI_LIGHT_GREEN}[FOUND]${ANSI_NOCOLOR}"
262+
263+
pushd "${artifact}" > /dev/null
264+
265+
echo -n " Extracting embedded tarball ... "
266+
tar -xf "${{ inputs.tarball-name }}"
267+
if [[ $? -ne 0 ]]; then
268+
echo -e "${ANSI_LIGHT_RED}[FAILED]${ANSI_NOCOLOR}"
269+
else
270+
echo -e "${ANSI_LIGHT_GREEN}[OK]${ANSI_NOCOLOR}"
271+
fi
272+
273+
popd > /dev/null
274+
else
275+
echo -e "${ANSI_LIGHT_YELLOW}[SKIPPED]${ANSI_NOCOLOR}"
276+
fi
254277
fi
255278
256279
# Check if artifact should be compressed (zip, tgz) or if asset was part of the downloaded artifact.

.github/workflows/_Checking_Nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
echo "Program $(date --utc '+%d.%m.%Y - %H:%M:%S')" > program.py
3333
3434
- name: 📤 Upload artifact
35-
uses: pyTooling/upload-artifact@v4
35+
uses: actions/upload-artifact@v4
3636
with:
3737
name: other
3838
path: |

0 commit comments

Comments
 (0)