Skip to content

Commit 6e5241f

Browse files
authored
attempt at fixing gh commandline globbing to attach files to the release (#138)
1 parent 7dbc408 commit 6e5241f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ jobs:
3434

3535
- run: ./build.sh release
3636
name: Release
37-
37+
38+
- name: List distributions
39+
run: ls -al ${{ env.RELEASE_DISTRO }}
40+
3841
- name: Generate build provenance (Distribution)
3942
uses: actions/attest-build-provenance@5e9cb68e95676991667494a6a4e59b8a2f13e1d0 # v1.3.3
4043
with:
@@ -49,8 +52,7 @@ jobs:
4952
if: ${{ github.event_name == 'release' }}
5053
env:
5154
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52-
run: |
53-
gh release upload ${{ github.ref_name }} '${{ env.RELEASE_DISTRO }}'
55+
run: gh release upload ${{ github.ref_name }} ${{ env.RELEASE_DISTRO }}
5456

5557
- name: Release to Nuget (only for release events)
5658
if: ${{ github.event_name == 'release' }}

0 commit comments

Comments
 (0)