-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (40 loc) · 1.09 KB
/
release.yml
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
name: release
on:
workflow_dispatch:
push:
tags:
- "v*"
jobs:
deploy:
runs-on: windows-2022
timeout-minutes: 20
env:
WORKFLOW_BUILD_TYPE: Release
WORKFLOW_VULKAN_DIR: D:/a/Teleport/Teleport/VULKAN_SDK
VULKAN_SDK: D:/a/Teleport/Teleport/VULKAN_SDK
VULKAN_SDK_DIR: D:/a/Teleport/Teleport/VULKAN_SDK
steps:
- name: Download artifact
id: download-artifact
uses: dawidd6/action-download-artifact@v6
with:
github_token: ${{secrets.TELEPORT_GENERIC_TOKEN}}
workflow: build_pc_client.yml
- name: Show
run: |
ls -R .
- name: Dotenv Action
uses: falti/[email protected]
with:
path: installer/teleport_commit.properties
log-variables: true
export-variables: true
- name: Create Release
uses: ncipollo/[email protected]
env:
GH_TOKEN: ${{secrets.TELEPORT_GENERIC_TOKEN}}
with:
artifacts: "installer/*.exe"
bodyFile: "installer/release_notes.md"
skipIfReleaseExists: true
artifactErrorsFailBuild: true