adjust status bar #304
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: CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Checkout Secret Repo | |
uses: actions/checkout@master | |
with: | |
repository: NeVeSpl/SecretRepository | |
token: ${{ secrets.SR_PAT }} | |
path: ./binaries/revit/2025/ | |
- name: Setup MSBuild.exe | |
uses: microsoft/[email protected] | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: Restore Packages | |
run: nuget restore RevitDBExplorer.sln | |
- name: Build Project for R2021 | |
working-directory: sources/RevitDBExplorer/ | |
run: | | |
msbuild /p:Configuration=R2021 | |
- name: Build Project for R2022 | |
working-directory: sources/RevitDBExplorer/ | |
run: | | |
msbuild /p:Configuration=R2022 | |
- name: Build Project for R2023 | |
working-directory: sources/RevitDBExplorer/ | |
run: | | |
msbuild /p:Configuration=R2023 | |
- name: Build Project for R2024 | |
working-directory: sources/RevitDBExplorer/ | |
run: | | |
msbuild /p:Configuration=R2024 | |
- name: Create Code Signing Certificate | |
run: | | |
New-Item -ItemType directory -Path certificate | |
Set-Content -Path certificate\certificate.txt -Value '${{ secrets.BASE64_ENCODED_PFX }}' | |
certutil -decode certificate\certificate.txt certificate\certificate.pfx | |
#- name: Sign RevitDBExplorer.dll | |
# run: | | |
# & 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe' sign /f certificate\certificate.pfx /p '${{ secrets.PFX_KEY }}' /t http://timestamp.comodoca.com/authenticode sources/bin/Release/RevitDBExplorer.dll | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: Build | |
path: "sources/bin/" | |
- name: Build SetupBuilder.exe | |
working-directory: setup/ | |
run: msbuild /p:Configuration=Release /p:BuildProjectReferences=false | |
- name: Run SetupBuilder.exe | |
working-directory: setup/bin/Release/ | |
run: | | |
./SetupBuilder.exe | |
#- name: Sign *.msi | |
# run: | | |
# & 'C:/Program Files (x86)/Windows Kits/10/bin/10.0.17763.0/x86/signtool.exe' sign /f certificate\certificate.pfx /p '${{ secrets.PFX_KEY }}' /t http://timestamp.comodoca.com/authenticode setup/bin/Release/*.msi | |
- name: Upload a Build Artifact | |
uses: actions/[email protected] | |
with: | |
name: Setup | |
path: setup/bin/Release/RevitDBExplorer.msi | |