Skip to content

Commit 4d5be73

Browse files
authored
checkout repo before executing gh release (#7)
1 parent 271e758 commit 4d5be73

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ jobs:
1313
needs: package
1414
runs-on: ubuntu-latest
1515
steps:
16+
- uses: actions/checkout@v3
1617
- uses: actions/download-artifact@v3
17-
with:
18-
name: package
1918
- run: |
20-
gh release create "${TAG}" ./*.msi ./*.zip
19+
gh release create "${TAG}" ./build/*.msi ./build/*.zip
2120
env:
2221
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2322
TAG: ${{ inputs.tag }}

.github/workflows/reusable-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Package
1+
name: Reusable package
22
on:
33
workflow_call:
44
jobs:
@@ -14,7 +14,7 @@ jobs:
1414
run: cmake --build build --target package
1515
- uses: actions/upload-artifact@v3
1616
with:
17-
name: package
17+
name: build
1818
path: |
1919
build/*.msi
2020
build/*.zip

0 commit comments

Comments
 (0)