ci: ubuntu-latest заменена ubuntu-latest

This commit is contained in:
Maxim Slipenko 2023-09-28 16:08:11 +03:00
parent 775c0887ab
commit f603a77130

View File

@ -13,11 +13,16 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest] os: [ubuntu-20.04, windows-latest]
spec: [statapp-onefile, statapp] spec: [statapp-onefile, statapp]
arch: [x86, x64] arch: [x86, x64]
include:
- os: ubuntu-20.04
target: linux
- os: windows-latest
target: windows
exclude: exclude:
- os: ubuntu-latest - os: ubuntu-20.04
arch: x86 arch: x86
defaults: defaults:
run: run:
@ -48,12 +53,12 @@ jobs:
with: with:
type: 'zip' type: 'zip'
directory: 'dist' directory: 'dist'
filename: "../${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.spec }}.zip" filename: "../${{ matrix.target }}-${{ matrix.arch }}-${{ matrix.spec }}.zip"
- name: Загрузка артефактов - name: Загрузка артефактов
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: ${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.spec }} name: ${{ matrix.target }}-${{ matrix.arch }}-${{ matrix.spec }}
path: '${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.spec }}.zip' path: '${{ matrix.target }}-${{ matrix.arch }}-${{ matrix.spec }}.zip'
release-please: release-please:
runs-on: ubuntu-latest runs-on: ubuntu-latest