Skip to content

Commit

Permalink
Add GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eXpl0it3r committed Apr 29, 2024
1 parent 825db89 commit 43af118
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 6 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Build

on: [push, pull_request, workflow_dispatch]

env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_NOLOGO: true

jobs:
build:
name: ${{ matrix.platform.name }} ${{ matrix.dotnet.name }}
runs-on: ${{ matrix.platform.os }}

strategy:
fail-fast: false
matrix:
platform:
- { name: Windows VS2022, os: windows-2022 }
dotnet:
- { name: .NET 8, version: '8.0.x' }

steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Setup .NET ${{ matrix.dotnet.version }} SDK
id: setup-dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet.version }}
- name: Enforce SDK Version
run: dotnet new globaljson --sdk-version ${{ steps.setup-dotnet.outputs.dotnet-version }} --force
- name: Verify SDK Installation
run: dotnet --info

- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Release
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@

# SDBrowser
*Browser for Firefalls Static Database*

This tool was created for educational purposes only and should not be used by anyone.


*Browser for Firefall's Static Database*

This tool was created for educational purposes only and should not be used by anyone.

**This repository is using submodules, so in order to properly clone it use this**
```
Expand All @@ -19,4 +16,3 @@ git clone https://github.com/themeldingwars/SDBrowser.git
cd SDBrowser
git submodule update --init --recursive
```

0 comments on commit 43af118

Please sign in to comment.