FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
RevitDevTool/.github/workflows/Compile.yml at develop · trgiangv/RevitDevTool · GitHub
trgiangv
/
RevitDevTool
Public
Notifications
You must be signed in to change notification settings
Fork
1
Star
13
Code
Pull requests
0
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
RevitDevTool
/
.github
/
workflows
/
Compile.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
59 lines (51 loc) · 1.55 KB
Breadcrumbs
RevitDevTool
/
.github
/
workflows
/
Compile.yml
Copy path
File metadata and controls
59 lines (51 loc) · 1.55 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name
:
Compile solution
on
:
push
:
branches
:
-
'
*
'
tags-ignore
:
-
'
*
'
pull_request
:
workflow_dispatch
:
concurrency
:
group
:
compile-${{ github.ref }}
cancel-in-progress
:
true
jobs
:
windows
:
name
:
windows-2025
runs-on
:
windows-2025
steps
:
-
name
:
Checkout
uses
:
actions/checkout@v6
with
:
fetch-depth
:
0
submodules
:
recursive
-
name
:
Cache packages
uses
:
actions/cache@v5
with
:
path
:
~/.nuget/packages
key
:
${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj', 'Directory.Build.props', 'Directory.Packages.props') }}
restore-keys
:
${{ runner.os }}-nuget-
-
name
:
Inject Daemon config
shell
:
pwsh
run
:
|
$file = "source/DevTools.Daemon/appsettings.json"
$json = Get-Content $file | ConvertFrom-Json
$json.Auth.Issuer = "${{ secrets.AUTH_ISSUER }}"
$json.Auth.ClientId = "${{ secrets.AUTH_CLIENT_ID }}"
$json.Gateway.Url = "${{ secrets.GATEWAY_URL }}"
$json | ConvertTo-Json -Depth 10 | Set-Content $file
-
name
:
Compile solution
run
:
dotnet run -c Release pack
working-directory
:
"
build
"
env
:
DOTNET_ENVIRONMENT
:
${{ github.ref_name == 'main' && 'Production' || 'Development' }}
-
name
:
Upload artifacts
uses
:
actions/upload-artifact@v4
with
:
name
:
build-output
path
:
|
output/*.zip
output/*.exe
if-no-files-found
:
warn
retention-days
:
7
Back
|
FazBrowse Home
|
New Git URL