Skip to content

Commit

Permalink
so it does support globs.
Browse files Browse the repository at this point in the history
  • Loading branch information
thepigeongenerator committed Nov 23, 2024
1 parent 7c4a7fb commit 7d75e70
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/add_build_to_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,17 @@ jobs:
dotnet publish ${{env.BUILD_PROJECT}} -c Release --self-contained -r "$arch"
fname="${{github.workspace}}/builds/${arch}_${{env.BUILD_PROJECT}}.zip"
produced_files="$(echo -e "$fname\n$produced_files")"
cd "${{env.BUILD_PROJECT}}/bin/Release/net6.0/$arch"
zip $fname *
cd -
echo "created $fname"
done
echo "created files: $produced_files"
echo "PRODUCED_FILES=\"$produced_files\"" >> ${{github.env}}
- name: upload release assets
uses: softprops/action-gh-release@v2
with:
tag_name: ${{github.event.release.tag_name}}
files: "${{env.PRODUCED_FILES}}"
files: "${{github.workspace}}/builds/*"
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 7d75e70

Please sign in to comment.