Добавил вывод об ошибке при превышении возможной длины текста для QR #334
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: Add-On Build | |
on: | |
push | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build_win: | |
strategy: | |
fail-fast: false | |
matrix: | |
ac-version: [22, 23, 24, 25, 26, 27, 28] | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout the submodule | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install requests | |
- name: Run build script | |
run: | | |
python Tools/BuildAddOn.py --configFile config.json --acVersion ${{ matrix.ac-version }} --release --package | |
- name: Get Time | |
id: time | |
uses: nanzm/get-time-action@master | |
with: | |
format: 'YYYY-MM-DD-HH' | |
- name: Upload Artifact | |
env: | |
TIME: "${{ steps.time.outputs.time }}" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: SomeStuff AC${{ matrix.ac-version }} Win ${{ env.TIME }} | |
path: Build/Package/SomeStuff/${{ matrix.ac-version }} | |
build_mac: | |
strategy: | |
fail-fast: false | |
matrix: | |
ac-version: [25, 26, 27, 28] | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Checkout the submodule | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: setup python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install requests | |
- name: Run build script | |
run: | | |
python Tools/BuildAddOn.py --configFile config.json --acVersion ${{ matrix.ac-version }} --release --package | |
- name: Get Time | |
id: time | |
uses: nanzm/get-time-action@master | |
with: | |
format: 'YYYY-MM-DD-HH' | |
- name: Upload Artifact | |
env: | |
TIME: "${{ steps.time.outputs.time }}" | |
uses: actions/upload-artifact@v4 | |
with: | |
name: SomeStuff AC${{ matrix.ac-version }} Mac ${{ env.TIME }} | |
path: Build/Package/SomeStuff/${{ matrix.ac-version }} | |