Skip to content

Commit

Permalink
Merge pull request #2 from isxGames/opensource-release
Browse files Browse the repository at this point in the history
Opensource release
  • Loading branch information
NostraThomas99 authored Apr 13, 2024
2 parents dd384e8 + 3d3e9f6 commit 3c414aa
Show file tree
Hide file tree
Showing 285 changed files with 73,251 additions and 4,327 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
47 changes: 47 additions & 0 deletions .github/workflows/Release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Release

on:
push:
tags:
- '*'

jobs:
build:
runs-on: windows-latest # .NET Framework 4.8 requires Windows
permissions:
contents: write

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Setup MSBuild Path
uses: microsoft/[email protected]

- name: Setup NuGet.exe
uses: NuGet/[email protected]

- name: Restore NuGet packages
run: nuget restore Metatron.sln

- name: Build solution
run: msbuild Metatron.sln /p:Configuration=Release -o ./build

- name: Inno Setup
# You may pin to the exact commit or the version.
# uses: nadeemjazmawe/inno-setup-action-cli@31fe986b893b62ba38889603be4a74452a8f6362
uses: nadeemjazmawe/[email protected]
with:
# Path for ISS file
filepath: Metatron.iss

- name: Publish Plugin
uses: softprops/action-gh-release@v2
with:
files: |
./Output/MetatronSetup.exe
./build/Metatron.exe
./build/isxGamesPatcher.exe
./Data/*
./PatcherManifests/*
token: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit 3c414aa

Please sign in to comment.