Skip to content

Commit 8e9ebaf

Browse files
committed
test
1 parent a4c961e commit 8e9ebaf

1 file changed

Lines changed: 17 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,25 +71,34 @@ jobs:
7171
with:
7272
type: 'zip'
7373
directory: vcpkg
74-
path: .
75-
filename: vcpkg-${{ matrix.os }}.zip
74+
filename: vcpkg-windows-latest.zip
7675

77-
- name: Publish release
78-
if: matrix.os != 'windows-latest'
76+
- name: Debug - List files (Windows)
77+
if: matrix.os == 'windows-latest'
78+
run: |
79+
echo "Current directory:"
80+
pwd
81+
echo "Files in current directory:"
82+
dir
83+
echo "Looking for zip files:"
84+
dir *.zip
85+
86+
- name: Publish windows
87+
if: matrix.os == 'windows-latest'
7988
uses: softprops/action-gh-release@v1
8089
with:
8190
tag_name: v${{ inputs.release }}
8291
name: v${{ inputs.release }}
83-
files: ${{ github.workspace }}/vcpkg-${{ matrix.os }}.zip
92+
files: vcpkg-windows-latest.zip
8493
env:
8594
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8695

87-
- name: Publish windows
88-
if: matrix.os == 'windows-latest'
96+
- name: Publish release
97+
if: matrix.os != 'windows-latest'
8998
uses: softprops/action-gh-release@v1
9099
with:
91100
tag_name: v${{ inputs.release }}
92101
name: v${{ inputs.release }}
93-
files: vcpkg-${{ matrix.os }}.zip
102+
files: ${{ github.workspace }}/vcpkg-${{ matrix.os }}.zip
94103
env:
95104
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)