Skip to content

Commit 300d66d

Browse files
Fix(Github Action): Error: Failed to CreateArtifact: Received non-retryable error
1 parent 481f47b commit 300d66d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/readme_output.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
name: "Bool-Matrix Version Test for README"
1+
name: "Bool-Matrix Version Test"
22
run-name: "BoolMatrix | current: ${{ inputs.current-version }} | type: ${{ inputs.version-type }}"
3+
34
on:
45
workflow_dispatch:
56
inputs:
@@ -44,14 +45,15 @@ jobs:
4445
- name: Save Result to File
4546
run: |
4647
mkdir -p results
47-
FILE="results/result-${{ matrix.preversion }}-${{ matrix.preversion-start-zero }}-${{ matrix.use-build }}-${{ matrix.prefix }}.txt"
48+
FILE="results/result-pre${{ matrix.preversion }}-zero${{ matrix.preversion-start-zero }}-build${{ matrix.use-build }}-prefix${{ matrix.prefix }}.txt"
4849
4950
echo "current-version: ${{ inputs.current-version }}" >> $FILE
5051
echo "version-type: ${{ inputs.version-type }}" >> $FILE
5152
echo "preversion: ${{ matrix.preversion }}" >> $FILE
5253
echo "preversion-start-zero: ${{ matrix.preversion-start-zero }}" >> $FILE
5354
echo "use-build: ${{ matrix.use-build }}" >> $FILE
5455
echo "prefix: ${{ matrix.prefix }}" >> $FILE
56+
5557
if [ -z "${{ steps.bump.outputs.next-version }}" ]; then
5658
echo "result: ERROR (no output)" >> $FILE
5759
echo "status: ❌" >> $FILE
@@ -63,7 +65,7 @@ jobs:
6365
- name: Upload Result Artifact
6466
uses: actions/upload-artifact@v4
6567
with:
66-
name: bool-matrix-results
68+
name: bool-result-pre${{ matrix.preversion }}-zero${{ matrix.preversion-start-zero }}-build${{ matrix.use-build }}-prefix${{ matrix.prefix }}
6769
path: results
6870

6971
summary:
@@ -75,7 +77,6 @@ jobs:
7577
- name: Lade Resultate
7678
uses: actions/download-artifact@v4
7779
with:
78-
name: bool-matrix-results
7980
path: results
8081

8182
- name: Ausgabe Tabelle
@@ -85,7 +86,7 @@ jobs:
8586
echo "| current-version | version-type | preversion | preversion-start-zero | use-build | prefix | Result | Status |" >> $GITHUB_STEP_SUMMARY
8687
echo "|-----------------|--------------|------------|------------------------|-----------|--------|--------|--------|" >> $GITHUB_STEP_SUMMARY
8788
88-
for f in results/*.txt; do
89+
for f in results/**/*.txt; do
8990
current=$(grep '^current-version:' "$f" | cut -d: -f2- | xargs)
9091
type=$(grep '^version-type:' "$f" | cut -d: -f2- | xargs)
9192
pre=$(grep '^preversion:' "$f" | cut -d: -f2- | xargs)

0 commit comments

Comments
 (0)