-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 990 Bytes
/
nwserver.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
on:
pull_request:
jobs:
build_push:
runs-on: ubuntu-latest
strategy:
matrix:
channel: [preview, release]
steps:
- uses: actions/checkout@v4
- name: Download nwnee
id: download
uses: ./.actions/nwserver/download/
with:
preview: ${{ matrix.channel == 'preview' }}
steam_username: ${{ secrets.STEAM_USER }}
steam_password: ${{ secrets.STEAM_PASS }}
output_path: ${{ github.workspace }}
- name: Parse nwnxee
id: parse
uses: ./.actions/nwserver/parse/
- name: Echo outputs
run: |
echo "version: ${{ steps.parse.outputs.version }}"
echo "major: ${{ steps.parse.outputs.major }}"
echo "minor: ${{ steps.parse.outputs.minor }}"
echo "patch: ${{ steps.parse.outputs.patch }}"
- name: Package nwserver files
id: package
uses: ./.actions/nwserver/package/
- run: ls -la ${{ steps.package }}