Skip to content

Release 2.58.1

Release 2.58.1 #96

Workflow file for this run

name: Create new installer
on:
release:
types: [published]
workflow_dispatch:
inputs:
tag_name:
description: 'Tag to build'
required: true
default: 'v2.x.x'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
release:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
repository: 'PathOfBuildingCommunity/PathOfBuilding-Installer'
ref: 'master'
ssh-key: '${{ secrets.POB_INSTALLER_KEY }}'
- name: Install NSIS
run: |
choco install nsis --yes
echo "C:\Program Files (x86)\NSIS" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: Create installer
run: 'python3 make_release.py --game-version 1'
- name: Upload artifact
run: >
gh release upload ${{ github.event.release.tag_name || github.event.inputs.tag_name }} (Get-ChildItem Dist -File).FullName --clobber -R ${{ github.repository }};