ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
name: Build & Deploy Engine
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
2022-03-11 12:05:53 +01:00
|
|
|
# cleanup:
|
|
|
|
# runs-on: self-hosted
|
|
|
|
# steps:
|
|
|
|
# - name: Cleanup
|
|
|
|
# run: rm -rf .* || true
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
build:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
continue-on-error: true
|
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
|
|
|
include:
|
2023-06-15 18:26:19 +02:00
|
|
|
# Linux build specifically want oldest Ubuntu as possible
|
|
|
|
# to be crossdistribution compatible, otherwise use ubuntu-latest
|
2023-03-28 19:08:42 +02:00
|
|
|
- os: ubuntu-20.04
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
targetos: linux
|
|
|
|
targetarch: amd64
|
2023-03-28 19:08:42 +02:00
|
|
|
- os: ubuntu-20.04
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
targetos: linux
|
|
|
|
targetarch: i386
|
2024-11-18 14:53:47 +01:00
|
|
|
- os: ubuntu-20.04
|
|
|
|
targetos: linux
|
|
|
|
targetarch: arm64
|
|
|
|
cross: true
|
|
|
|
- os: ubuntu-20.04
|
|
|
|
targetos: linux
|
|
|
|
targetarch: armhf
|
|
|
|
cross: true
|
|
|
|
- os: ubuntu-20.04
|
|
|
|
targetos: linux
|
|
|
|
targetarch: riscv64
|
|
|
|
cross: true
|
|
|
|
- os: ubuntu-20.04
|
|
|
|
targetos: linux
|
|
|
|
targetarch: ppc64el
|
|
|
|
cross: true
|
2022-03-11 11:41:47 +01:00
|
|
|
# - os: ubuntu-aarch64-20.04
|
|
|
|
# targetos: linux
|
|
|
|
# targetarch: aarch64
|
2024-02-16 12:00:47 +01:00
|
|
|
- os: ubuntu-20.04
|
|
|
|
targetos: android
|
|
|
|
targetarch: multiarch
|
2023-03-28 19:08:42 +02:00
|
|
|
# - os: ubuntu-20.04
|
2023-01-14 07:52:44 +01:00
|
|
|
# targetos: motomagx
|
|
|
|
# targetarch: armv6
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
|
2023-06-15 18:26:19 +02:00
|
|
|
- os: ubuntu-latest
|
2023-03-28 23:05:40 +02:00
|
|
|
targetos: nswitch
|
|
|
|
targetarch: arm64
|
2023-06-15 18:26:19 +02:00
|
|
|
- os: ubuntu-latest
|
2023-03-28 23:05:40 +02:00
|
|
|
targetos: psvita
|
|
|
|
targetarch: armv7hf
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
- os: windows-latest
|
|
|
|
targetos: win32
|
|
|
|
targetarch: amd64
|
2024-01-13 03:05:54 +01:00
|
|
|
- os: windows-2019 # always use the oldest possible for 32-bit because of older compilers, and better support of certain legacy OSes
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
targetos: win32
|
|
|
|
targetarch: i386
|
2024-11-18 17:40:42 +01:00
|
|
|
- os: macos-14 # arm64 as per github documentation
|
2024-08-12 08:02:41 +02:00
|
|
|
targetos: apple
|
|
|
|
targetarch: arm64
|
2024-11-18 17:40:42 +01:00
|
|
|
- os: macos-13 # x86 as per github documentation (will they fix it before they deprecate this version?..)
|
2024-08-12 08:02:41 +02:00
|
|
|
targetos: apple
|
|
|
|
targetarch: amd64
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
env:
|
2024-11-18 18:03:34 +01:00
|
|
|
SDL_VERSION: 2.30.9
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
GH_CPU_ARCH: ${{ matrix.targetarch }}
|
2024-11-18 14:53:47 +01:00
|
|
|
GH_CROSSCOMPILING: ${{ matrix.cross }}
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-08-12 08:12:32 +02:00
|
|
|
uses: actions/checkout@v4
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- name: Install dependencies
|
|
|
|
run: bash scripts/gha/deps_${{ matrix.targetos }}.sh
|
|
|
|
- name: Build engine
|
2024-08-18 12:13:41 +02:00
|
|
|
env:
|
|
|
|
FWGS_PFX_PASSWORD: ${{ secrets.FWGS_PFX_PASSWORD }}
|
ci: migrate to GitHub Actions
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 19:21:09 +02:00
|
|
|
run: bash scripts/gha/build_${{ matrix.targetos }}.sh
|
2021-12-14 21:17:04 +01:00
|
|
|
- name: Upload engine (artifacts)
|
2024-08-12 08:12:32 +02:00
|
|
|
uses: actions/upload-artifact@v4
|
2021-12-14 21:17:04 +01:00
|
|
|
with:
|
|
|
|
name: artifact-${{ matrix.targetos }}-${{ matrix.targetarch }}
|
2021-12-17 02:09:54 +01:00
|
|
|
path: artifacts/*
|
2023-02-04 22:06:37 +01:00
|
|
|
flatpak:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- app: su.xash.Engine.Compat.i386
|
|
|
|
container:
|
2024-10-29 14:12:04 +01:00
|
|
|
image: bilelmoussaoui/flatpak-github-actions:freedesktop-24.08
|
2023-02-04 22:06:37 +01:00
|
|
|
options: --privileged
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-08-12 09:07:41 +02:00
|
|
|
uses: actions/checkout@v4
|
2023-02-04 22:06:37 +01:00
|
|
|
with:
|
|
|
|
submodules: recursive
|
|
|
|
- name: Build flatpak (Compat.i386)
|
2024-08-12 09:07:41 +02:00
|
|
|
uses: FWGS/flatpak-github-actions/flatpak-builder@v6.3
|
2023-02-04 22:06:37 +01:00
|
|
|
with:
|
|
|
|
bundle: ${{ matrix.app }}.flatpak
|
|
|
|
manifest-path: scripts/flatpak/${{ matrix.app }}.yml
|
2023-03-27 03:50:16 +02:00
|
|
|
release:
|
|
|
|
name: "Upload releases"
|
|
|
|
runs-on: ubuntu-latest
|
2023-05-24 03:24:55 +02:00
|
|
|
needs: [build, flatpak]
|
2023-03-27 03:50:16 +02:00
|
|
|
if: ${{ github.event_name == 'push' }}
|
|
|
|
steps:
|
2024-08-12 10:26:36 +02:00
|
|
|
- name: Remove old release, fetch artifacts, repackage binaries and upload new release
|
2024-08-12 08:37:55 +02:00
|
|
|
env:
|
2024-08-12 10:26:36 +02:00
|
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
RELEASE_TAG: ${{ github.ref_name == 'master' && 'continuous' || format('continuous-{0}', github.ref_name) }}
|
2023-03-27 03:50:16 +02:00
|
|
|
run: |
|
2024-08-12 10:26:36 +02:00
|
|
|
gh release delete "$RELEASE_TAG" \
|
|
|
|
--yes \
|
|
|
|
--cleanup-tag \
|
|
|
|
--repo "$GITHUB_REPOSITORY" || true
|
2024-08-12 10:43:01 +02:00
|
|
|
sleep 20s
|
2024-08-12 10:26:36 +02:00
|
|
|
gh run download "$GITHUB_RUN_ID" \
|
|
|
|
--dir artifacts/ \
|
|
|
|
--repo "$GITHUB_REPOSITORY"
|
2024-08-12 08:37:55 +02:00
|
|
|
pushd artifacts/
|
2024-08-12 09:44:25 +02:00
|
|
|
echo "Found artifacts:"
|
2024-08-12 10:26:36 +02:00
|
|
|
ls
|
|
|
|
for i in $(find -mindepth 1 -maxdepth 1 -type d); do
|
2023-03-27 03:50:16 +02:00
|
|
|
mv "$i"/* .
|
|
|
|
rm -rf "$i"
|
|
|
|
done
|
2024-08-12 09:44:25 +02:00
|
|
|
echo "Repackaged artifacts:"
|
2024-08-12 10:26:36 +02:00
|
|
|
ls -R
|
2024-08-12 08:37:55 +02:00
|
|
|
popd
|
2023-04-19 15:32:21 +02:00
|
|
|
sleep 20s
|
2024-08-12 10:26:36 +02:00
|
|
|
gh release create "$RELEASE_TAG" artifacts/* \
|
|
|
|
--title "Xash3D FWGS Continuous ${{ github.ref_name }} Build" \
|
|
|
|
--target $GITHUB_SHA \
|
|
|
|
--repo "$GITHUB_REPOSITORY" \
|
2024-08-12 10:43:01 +02:00
|
|
|
--prerelease
|