Skip to content

release-installer

release-installer #4

name: release-installer
'on':
release:
types:
- published
jobs:
windows:
runs-on: windows-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- uses: ./.github/run-tests
- name: Upload Release Asset DXRando
id: upload-release-asset-dxrando
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/DXRandoInstaller.exe
asset_name: DXRandoInstaller.exe
- name: Upload Release Asset BingoViewer
id: upload-release-asset-bingoviewer
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/BingoViewer.exe
asset_name: BingoViewer.exe
linux:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: sudo apt-get update -y
- run: sudo apt-get install -y python3-tk idle3 binutils
- uses: ./.github/run-tests
- name: Upload Release Asset DXRando
id: upload-release-asset-dxrando
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/DXRandoInstaller
asset_name: DXRandoInstaller-Linux
- name: Upload Release Asset BingoViewer
id: upload-release-asset-bingoviewer
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/BingoViewer
asset_name: BingoViewer-Linux