gha: Fix release and binary-release workflows
This commit is contained in:
4
.github/workflows/binary-release.yml
vendored
4
.github/workflows/binary-release.yml
vendored
@@ -66,10 +66,10 @@ jobs:
|
||||
tar -xf mingw-i486.tar.xz
|
||||
|
||||
- name: Build limine for Windows
|
||||
run: make -C build/bin CC="/tmp/mingw-i486/i486-w64-mingw32-gcc" CFLAGS="-O2 -pipe" CPPFLAGS="-D__USE_MINGW_ANSI_STDIO" limine
|
||||
run: make -C build/bin CC="/tmp/mingw-i486/bin/i486-w64-mingw32-gcc" CFLAGS="-O2 -pipe" CPPFLAGS="-D__USE_MINGW_ANSI_STDIO" limine
|
||||
|
||||
- name: Strip limine for Windows
|
||||
run: /tmp/mingw-i486/i486-w64-mingw32-strip build/bin/limine.exe
|
||||
run: /tmp/mingw-i486/bin/i486-w64-mingw32-strip build/bin/limine.exe
|
||||
|
||||
- name: Copy LICENSE to bin
|
||||
run: cp COPYING build/bin/LICENSE
|
||||
|
||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@@ -25,6 +25,14 @@ jobs:
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: '0'
|
||||
|
||||
- name: Git config
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
- name: Get tag name
|
||||
run: echo "TAG_NAME=$(git describe --exact-match --tags $(git log -n1 --pretty='%h'))" >> $GITHUB_ENV
|
||||
|
||||
- name: Package release tarball
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user