-
Notifications
You must be signed in to change notification settings - Fork 3
50 lines (45 loc) · 1.41 KB
/
release-internal.yaml
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
name: Create Release Package [internal]
# Define the triggers for this workflow
on:
push:
tags:
- "v*.*.*"
jobs:
# Get environment variable for docker image URI and provide it to next build step
prep-linux:
runs-on: [Linux, self-hosted, ska-runner]
outputs:
image: ${{ steps.set_image.outputs.image }}
environment: build-action
steps:
- id: set_image
env:
DOCKER_IMAGE_URI: ${{ vars.DOCKER_IMAGE_URI }}
run: echo "image=${{vars.DOCKER_IMAGE_URI}}" >> "$GITHUB_OUTPUT"
# Build the project, then remove the built artifacts
build-linux:
runs-on: [Linux, Docker, self-hosted, ska-runner]
needs: prep-linux
container:
image: ${{ needs.prep-linux.outputs.image }}
volumes:
- /opt/store/ca/:/tmp/ca/
env:
HTTP_PROXY: ""
HTTPS_PROXY: ""
steps:
# Check out this Git repo
- uses: actions/checkout@v4
- name: Build & Publish
run: dotnet build ./FmuImporter/BuildAll/Build.csproj -v:m
- name: Release
uses: softprops/action-gh-release@v1
env:
NODE_EXTRA_CA_CERTS: "/tmp/ca/Vector_Root_CA_2.0.crt"
http_proxy: "" # Explicitly disable the proxy for Node.js
https_proxy: "" # Explicitly disable the proxy for Node.js
with:
prerelease: true
draft: true
files: |
./FmuImporter/_publish/SilKitFmuImporter-*-xPlatform-x64.zip