Bump codecov/codecov-action from 4 to 5 #3683
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-macos-12: | |
runs-on: macos-12 | |
steps: | |
- name: icu | |
run: | | |
brew update --preinstall || true | |
brew install pkg-config icu4c | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: update tags | |
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- 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 | |
- name: artifact dist | |
uses: actions/upload-artifact@v4 | |
with: | |
name: macos-12-dist | |
path: "*.zip" | |
pyinstaller-win: | |
runs-on: windows-2019 | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: update tags | |
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: run builder | |
shell: bash | |
run: | | |
./builder.sh | |
- name: artifact dist | |
uses: actions/upload-artifact@v4 | |
with: | |
name: windows-dist | |
path: "NowPlaying*windows" |