Skip to content

Commit

Permalink
Add incrementing versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mscrivo committed Nov 3, 2024
1 parent 60f90e2 commit bb3fdfe
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ jobs:
runs-on: windows-latest

env:
Solution_Name: OutlookDesktop.sln
VERSION: '4.3.${{ github.run_number }}'

steps:
- name: Output Run ID
run: echo ${{ github.run_id }}
- name: Output Run Number
run: echo ${{ github.run_number }}
- name: Output Run Attempt
run: echo ${{ github.run_attempt }}

- name: Checkout
uses: actions/checkout@v4
with:
Expand All @@ -31,7 +38,7 @@ jobs:
dotnet-version: 9.0.x

- name: Build the app
run: dotnet build --configuration $env:Configuration
run: dotnet build --configuration $env:Configuration -p:Version=$(MAJOR_MINOR_VERSION);FileVersion=$(MAJOR_MINOR_VERSION)
env:
Configuration: ${{ matrix.configuration }}

Expand All @@ -43,9 +50,7 @@ jobs:
cert-sha1: '${{ secrets.CERT_HASH_SHA1 }}'
# path to folder containing files to sign.
folder: 'OotD.Launcher\bin\Release\net9.0-windows7.0'
# Recursively search for supported files.
recursive: true
# URL of the timestamp server used for the signing
timestamp-server: 'http://timestamp.digicert.com'

- name: Build Installer
Expand Down

0 comments on commit bb3fdfe

Please sign in to comment.