Skip to content

Commit 19d12cc

Browse files
authored
Merge pull request #41 from umpire274/v0.2.0
Updated release with debug section
2 parents 1e4e5b2 + e314c75 commit 19d12cc

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: Create Release
22

33
on:
44
workflow_run:
5-
workflows: ["Build and Upload Artifacts"]
6-
types: [completed]
5+
workflows: [ "Build and Upload Artifacts" ]
6+
types: [ completed ]
77

88
jobs:
99
release:
@@ -14,26 +14,24 @@ jobs:
1414
- name: Checkout Repository
1515
uses: actions/checkout@v4
1616

17-
- name: <Debug>Controlla percorso prima del download</Debug>
17+
- name: <Debug>Controlla workspace prima del download</Debug>
1818
shell: bash
1919
run: |
20-
echo "Workspace directory: $PWD"
21-
echo "Contenuto iniziale del workspace (prima del download):"
22-
ls -l . || echo "(vuoto)"
20+
echo "[DEBUG] Workspace iniziale (dopo checkout):"
21+
ls -lah
2322
2423
- name: Download Artifacts
2524
uses: actions/download-artifact@v4
2625
with:
27-
path: release_artifacts/*
26+
path: release_artifacts
2827
run-id: ${{ github.event.workflow_run.id }}
2928
merge-multiple: true
3029

31-
- name: Verify Artifacts Structure
30+
- name: <Debug>Controllo contenuto release_artifacts</Debug>
3231
shell: bash
3332
run: |
34-
echo "Contenuto della directory release_artifacts:"
35-
ls -lh release_artifacts
36-
[ -f release_artifacts/rfortune-* ] || (echo "Nessun artifact trovato!" && exit 1)
33+
echo "[DEBUG] Verifica struttura release_artifacts:"
34+
tree release_artifacts || find release_artifacts || echo "Directory vuota o non trovata"
3735
3836
- name: Verify GPG Signatures
3937
shell: bash

0 commit comments

Comments
 (0)