forked from PathOfBuildingCommunity/PathOfBuilding
-
Notifications
You must be signed in to change notification settings - Fork 0
21 lines (20 loc) · 746 Bytes
/
installer.yml
File metadata and controls
21 lines (20 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Create new installer
on:
release:
types: [published]
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: Create installer
run: 'python3 make_release.py'
- name: Upload artifact
run: >
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token;
gh release upload ${{ github.event.release.tag_name }} (Get-ChildItem Dist -File).FullName --clobber -R ${{ github.repository }};