Skip to content

Commit 6dc556e

Browse files
committed
gha: Fix MinGW path and add workflow_dispatch to binary-release
1 parent d6d1e42 commit 6dc556e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/binary-release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
push:
55
tags:
66
- 'v*'
7+
workflow_dispatch:
8+
inputs:
9+
tag:
10+
description: 'Tag to build (e.g. v11.3.1)'
11+
required: true
712

813
jobs:
914
build:
@@ -27,6 +32,7 @@ jobs:
2732
uses: actions/checkout@v6
2833
with:
2934
fetch-depth: '0'
35+
ref: ${{ inputs.tag || github.ref }}
3036

3137
- name: Git config
3238
run: |
@@ -60,9 +66,8 @@ jobs:
6066
- name: Fetch MinGW
6167
run: |
6268
set -e
63-
mkdir /tmp/mingw
64-
curl -Lo /tmp/mingw/mingw-i486.tar.xz https://github.com/osdev0/mingw-binary-builds/releases/latest/download/mingw-i486.tar.xz
65-
cd /tmp/mingw
69+
curl -Lo /tmp/mingw-i486.tar.xz https://github.com/osdev0/mingw-binary-builds/releases/latest/download/mingw-i486.tar.xz
70+
cd /tmp
6671
tar -xf mingw-i486.tar.xz
6772
6873
- name: Build limine for Windows

0 commit comments

Comments
 (0)