We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7459a30 commit 672cb63Copy full SHA for 672cb63
.github/workflows/main.yml
@@ -22,13 +22,15 @@ jobs:
22
23
- run: xmake && xmake run
24
25
+ - name: Find built file
26
+ shell: pwsh
27
+ run: |
28
+ echo "FILE_PATH=$(Get-ChildItem -Path build -Recurse -Filter release -File -Name)" >> $GITHUB_ENV
29
+
30
- if: startsWith(github.ref, 'refs/tags/')
31
uses: softprops/action-gh-release@v2
32
with:
33
token: ${{ secrets.GITHUB_TOKEN }}
34
prerelease: ${{ !contains(github.ref, 'refs/heads/master') }}
35
generate_release_notes: true
- files: |
- build/linux/*
- build/macosx/*
- build/windows/*
36
+ files: ${{ env.FILE_PATH }}
0 commit comments