mirror of
https://github.com/EDeev/pixel_gamble.git
synced 2026-10-07 23:49:29 +03:00
Релиз: Linux-сборка на ubuntu-22.04 (glibc 2.35), ручная пересборка файлов по тегу
This commit is contained in:
parent
4ecb9257c8
commit
01c428c6d3
1 changed files with 9 additions and 2 deletions
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
|
|
@ -3,6 +3,11 @@ name: Release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags: ["v*"]
|
tags: ["v*"]
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
tag:
|
||||||
|
description: "Тег релиза, файлы которого пересобрать"
|
||||||
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
@ -11,13 +16,15 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
file: PixelGamble-windows.exe
|
file: PixelGamble-windows.exe
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-22.04 # старая glibc — файл запустится и на системах постарше
|
||||||
file: PixelGamble-linux.tar.gz
|
file: PixelGamble-linux.tar.gz
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
ref: ${{ inputs.tag || github.ref }}
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.12"
|
||||||
|
|
@ -35,4 +42,4 @@ jobs:
|
||||||
- name: Файл в релиз
|
- name: Файл в релиз
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
run: gh release upload "${{ github.ref_name }}" ${{ matrix.file }} --clobber
|
run: gh release upload "${{ inputs.tag || github.ref_name }}" ${{ matrix.file }} --clobber
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue