mirror of
https://github.com/Pakobbix/StartUI-oobabooga-webui
synced 2025-11-09 15:39:39 +00:00
fixed the ubuntu-latest are build on windows and windows-latest build on ubuntu
This commit is contained in:
parent
9fa0424a6c
commit
486b31b39e
19
.github/workflows/package.yml
vendored
19
.github/workflows/package.yml
vendored
@ -4,16 +4,12 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- .github/workflows/**
|
- .github/workflows/**
|
||||||
|
|
||||||
env:
|
|
||||||
PACKAGE_VERSION: v1.4
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
package-self-hosted-ubuntu:
|
package-linux:
|
||||||
runs-on: self-hosted
|
runs-on: ubuntu-latest
|
||||||
if: runner.os == 'Linux'
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [3.6, 3.7, 3.8, 3.9]
|
python-version: 3.x
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -37,12 +33,11 @@ jobs:
|
|||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: linux-binary-${{ env.PACKAGE_VERSION }}
|
name: linux-binary-v1.4
|
||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
package-self-hosted-windows:
|
package-windows:
|
||||||
runs-on: self-hosted
|
runs-on: windows-latest
|
||||||
if: runner.os == 'Windows'
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -66,5 +61,5 @@ jobs:
|
|||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: windows-binary-${{ env.PACKAGE_VERSION }}
|
name: windows-binary-v1.4
|
||||||
path: dist
|
path: dist
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user