Removed some unused icons #587
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: [push] | |
jobs: | |
Build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
steps: | |
- name: Obtain latest version of the repository | |
uses: actions/checkout@v1 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9.x' | |
- name: Install requirements with PIP | |
run: pip install -r requirements_CLI.txt | |
- name: Install pyinstaller | |
run: pip install pyinstaller | |
- name: Build Open Shop Channel Downloader | |
run: pyinstaller --onefile --icon=oscicon.ico osc-dl.py | |
- name: Publish Build Artifacts | |
uses: actions/upload-artifact@master | |
with: | |
name: ${{ matrix.os }} | |
path: dist | |
BuildGUI: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [windows-latest] | |
steps: | |
- name: Obtain latest version of the repository | |
uses: actions/checkout@v1 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9.x' | |
- name: Install requirements with PIP | |
run: pip install -r requirements.txt | |
- name: Install pyinstaller | |
run: pip install git+https://github.com/pyinstaller/pyinstaller.git@develop | |
- name: Build Graphical Open Shop Channel Downloader | |
run: pyinstaller oscdl.spec | |
- name: Publish Build Artifacts | |
uses: actions/upload-artifact@master | |
with: | |
name: '${{ matrix.os }}-GUI' | |
path: dist | |
- uses: dhtdht020/openshop-status-discord@master | |
name: Send discord webhook | |
if: always() | |
env: | |
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | |
with: | |
status: ${{ job.status }} | |
title: "Build #${{ github.run_number }} of OSCDL: ${{ job.status }}" | |
description: "New OSCDL development build! #${{ github.run_number }} [Download Build](https://github.com/dhtdht020/osc-dl/actions/runs/${{ github.run_id }})" | |
nodetail: true | |
username: OSCDL | |