-
Notifications
You must be signed in to change notification settings - Fork 9
44 lines (34 loc) · 1002 Bytes
/
build_modules.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
44
name: Build Modules
on:
push:
paths:
- '**.ps1'
- '**.yml'
pull_request:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
versions: [ {branch: 'master', version: '0.13.5.3.26535'}]
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Run build script
id: build
shell: pwsh
run: ./build_modules.ps1 -Overwrite -Branch ${{ matrix.versions.branch }} -Url ${{ secrets.DLL_URL }} -TarkovVersion ${{ matrix.versions.version }}
- run: echo "$FILE_NAME"
env:
FILE_NAME: ${{ steps.build.outputs.ZIP_NAME }}
- name: Upload a Build Artifact
uses: actions/[email protected]
with:
name: ${{ steps.build.outputs.ZIP_NAME }}
path: './Modules/${{ steps.build.outputs.ZIP_NAME }}'
if-no-files-found: error
retention-days: 3