Updated version to v0.3.1 #5
Workflow file for this run
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: Deploy Linux Deb Package | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET 8 | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install dotnet-deb | |
run: | | |
dotnet tool install --tool-path src/Camelot dotnet-deb | |
- name: Build Debian Package | |
run: | | |
cd src/Camelot | |
./dotnet-deb install | |
./dotnet-deb --configuration Release | |
- name: Archive Artifact | |
run: | | |
cd src/Camelot/bin/Release/net8.0 | |
tar -czvf CamelotLinuxDeb.tar.gz camelot*.deb | |
- name: Upload Release Asset | |
id: upload-release-asset | |
uses: svenstaro/upload-release-action@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
tag: ${{ github.ref }} | |
file: ./src/Camelot/bin/Release/net8.0/CamelotLinuxDeb.tar.gz | |
asset_name: CamelotLinuxDeb.tar.gz |