Skip to content

Merge branch 'master' of https://github.com/xackery/eqemupatcher #73

Merge branch 'master' of https://github.com/xackery/eqemupatcher

Merge branch 'master' of https://github.com/xackery/eqemupatcher #73

Workflow file for this run

name: Build and Release
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
VERSION: 1.0.6
BUILD_CONFIGURATION: Release
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- name: Restore NuGet packages
working-directory: ${{env.GITHUB_WORKSPACE}}
run: cd "EQEmu Patcher" && nuget restore "EQEmu Patcher.sln"
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
cd "EQEmu Patcher" && msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:VERSION="${{ env.VERSION }}.${{ github.run_number }}" "EQEmu Patcher.sln"
- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
if: github.ref == 'refs/heads/master'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "${{ env.VERSION }}.${{ github.run_number }}"
prerelease: false
title: "${{ env.VERSION }}.${{ github.run_number }}"
files: |
EQEmu Patcher/EQEmu Patcher/bin/Release/eqemumodder.exe