Bump discord-py from 2.3.1 to 2.3.2 (#918) #3215
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
# This workflow file generates binaries for both Windows | |
# and OS X. However, https://github.com/actions/upload-artifact/issues/38 | |
# that basically says that it won't ever preserve permissions. | |
# That means an archive in an archive since we need to preserve them | |
# on OS X. Still... better than doing this all by hand. | |
# yamllint disable rule:line-length | |
--- | |
name: pyinstaller | |
on: [push] # yamllint disable-line rule:truthy | |
jobs: | |
pyinstaller-mac-11: | |
runs-on: macos-11 | |
steps: | |
- name: icu | |
run: | | |
brew update --preinstall || true | |
brew install pkg-config icu4c | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: update tags | |
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: run builder | |
run: | | |
export PATH="/usr/local/opt/icu4c/bin:/usr/local/opt/icu4c/sbin:${PATH}" | |
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/local/opt/icu4c/lib/pkgconfig" | |
./builder.sh macosx | |
- name: artifact dist | |
uses: actions/upload-artifact@v3 | |
with: | |
name: mac-11-dist | |
path: "*.zip" | |
pyinstaller-win: | |
runs-on: windows-2019 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: update tags | |
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
- name: setup python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: run builder | |
shell: bash | |
run: | | |
./builder.sh windows | |
- name: artifact dist | |
uses: actions/upload-artifact@v3 | |
with: | |
name: windows-dist | |
path: "NowPlaying*windows" |