Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only Add Specific Binaries to Release #4

Merged
merged 1 commit into from
Nov 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 19 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,20 @@ jobs:
dotnet publish -c Release -r osx-arm64 -o ./release/macos-arm DotNetAstGen/DotNetAstGen.csproj
dotnet publish -c Release -r win-x64 -o ./release/win DotNetAstGen/DotNetAstGen.csproj
dotnet publish -c Release -r win-arm -o ./release/win-arm DotNetAstGen/DotNetAstGen.csproj
- name: Make executable
- name: Rename
run: |
chmod +x ./release/macos/DotNetAstGen
chmod +x ./release/macos-arm/DotNetAstGen
chmod +x ./release/linux/DotNetAstGen
chmod +x ./release/linux-arm/DotNetAstGen
- name: ZIP Release Directory
mv ./release/linux/DotNetAstGen dotnetastgen-linux
mv ./release/linux-arm/DotNetAstGen dotnetastgen-linux-arm
mv ./release/macos/DotNetAstGen dotnetastgen-macos
mv ./release/macos-arm/DotNetAstGen dotnetastgen-macos-arm
mv ./release/win/DotNetAstGen.exe dotnetastgen-win.exe
mv ./release/win-arm/DotNetAstGen.exe dotnetastgen-win-arm.exe
- name: Make executable
run: |
mv ./release DotNetAstGen
zip -r DotNetAstGen.zip ./DotNetAstGen
chmod +x dotnetastgen-linux
chmod +x dotnetastgen-linux-arm
chmod +x dotnetastgen-macos
chmod +x dotnetastgen-macos-arm
- name: Set next release version
id: taggerFinal
uses: anothrNick/[email protected]
Expand All @@ -64,4 +68,10 @@ jobs:
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ steps.taggerDryRun.outputs.new_tag }}
files: DotNetAstGen.zip
files: |
dotnetastgen-linux
dotnetastgen-linux-arm
dotnetastgen-macos
dotnetastgen-macos-arm
dotnetastgen-win.exe
dotnetastgen-win-arm.exe
Loading