Generate binaries for 8caf1a24e7dfb0dba5563bc941ee4e4b3c64c4dc #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish | |
run-name: "Generate binaries for ${{ inputs.commit }}" | |
on: | |
workflow_dispatch: | |
inputs: | |
commit: | |
description: "Commit id to generate binaries for" | |
required: true | |
jobs: | |
linux-x64: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.commit }} | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 6.0.x | |
- name: Publish | |
run: dotnet publish -c Release -p:PublishProfile=FolderProfile | |
- name: Compress archive | |
working-directory: Rudim/bin/Release/net9.0/publish/ | |
run: tar -xvzf linux-x64.tar.gz * | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: linux-x64.tar.gz | |
path: Rudim/bin/Release/net9.0/publish/linux-x64.tar.gz | |