Skip to content

Commit 013e46f

Browse files
committed
Creating translation comp. workflow
Almost exactly the same as the debug workflow, except for which files it triggers on and the parameter passed to the build solution action.
1 parent e7cf32d commit 013e46f

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: build-translation
2+
3+
on:
4+
workflow_dispatch:
5+
6+
pull_request:
7+
branches: Dev-2.2
8+
paths:
9+
- "**.xlf"
10+
11+
jobs:
12+
build-translation:
13+
runs-on: windows-latest
14+
steps:
15+
- name: "Get Short SHA"
16+
id: "get-short-sha"
17+
shell: pwsh
18+
run: echo "SHORT_SHA=$("${{ github.sha }}".SubString(0, 8))" >> $env:GITHUB_ENV
19+
- name: Checkout code
20+
uses: actions/checkout@v3
21+
- name: Build solution in Debug configuration (with multilingual)
22+
uses: ./.github/actions/build-solution
23+
with:
24+
build-mode: "Debug"
25+
version: "2.2.*"
26+
compile-langs: true
27+
- name: Package output
28+
uses: actions/upload-artifact@v3
29+
with:
30+
name: ${{ format('winnut-client-debug-{0}', env.SHORT_SHA) }}
31+
if-no-files-found: error
32+
path: WinNUT_V2/WinNUT-Client/bin/Debug

0 commit comments

Comments
 (0)