mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-19 21:03:17 -07:00
ci: 🏗️ Added the dotnet setversion
This commit is contained in:
parent
b79878b631
commit
b156a8e811
1 changed files with 16 additions and 8 deletions
24
.github/workflows/build.yml
vendored
24
.github/workflows/build.yml
vendored
|
@ -100,6 +100,22 @@ jobs:
|
|||
restore-keys: |
|
||||
${{ runner.os }}-nuget
|
||||
|
||||
# This is only to get the next version number so we can set the version before compile
|
||||
- name: Conventional Changelog Action
|
||||
uses: TriPSs/conventional-changelog-action@v3
|
||||
with:
|
||||
github-token: ${{ secrets.github_token }}
|
||||
skip-version-file: 'true'
|
||||
skip-commit: 'true'
|
||||
version-file: 'version.json'
|
||||
output-file: 'false'
|
||||
|
||||
- name: Set Backend Version
|
||||
run: |
|
||||
dotnet tool install -g dotnet-setversion
|
||||
setversion -r ${{ steps.changelog.outputs.version }}
|
||||
working-directory: src/Ombi
|
||||
|
||||
- name: Publish Backend ${{ matrix.os }}
|
||||
run: dotnet publish -c Release -r ${{ matrix.os }} -o "${{ matrix.os }}" --self-contained true -p:PublishSingleFile=true
|
||||
working-directory: src/Ombi
|
||||
|
@ -120,14 +136,6 @@ jobs:
|
|||
cd ..
|
||||
echo "Copy dist to /ClientApp"
|
||||
sudo mv ~/src/Ombi/dist/* ${{ matrix.os }}/ClientApp/dist
|
||||
cd ${{ matrix.os }}
|
||||
echo "List OS folder"
|
||||
ls
|
||||
echo "list Clientapp"
|
||||
cd ClientApp
|
||||
ls
|
||||
echo "list root"
|
||||
ls ~/
|
||||
working-directory: src/Ombi
|
||||
|
||||
- name: Archive Release
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue