mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 14:05:58 +01:00
Fix release action
This commit is contained in:
parent
ff6e3a4d24
commit
606f4b0794
1 changed files with 2 additions and 7 deletions
9
.github/workflows/release.yaml
vendored
9
.github/workflows/release.yaml
vendored
|
@ -7,7 +7,7 @@ on:
|
|||
|
||||
jobs:
|
||||
meson-rl:
|
||||
name: "Build and release Hyprland with Meson (Arch)"
|
||||
name: "Release Hyprland with Meson (Arch)"
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: archlinux
|
||||
|
@ -27,10 +27,6 @@ jobs:
|
|||
-Ddefault_library=static
|
||||
- name: Compile
|
||||
run: ninja -C obj-x86_64-pc-linux-gnu
|
||||
- name: Build wlroots
|
||||
run: |
|
||||
sed -i '$ d' ./Makefile
|
||||
make config
|
||||
- name: Compress and package artifacts
|
||||
run: |
|
||||
mkdir x86_64-pc-linux-gnu
|
||||
|
@ -39,11 +35,10 @@ jobs:
|
|||
mkdir release-files/assets
|
||||
DESTDIR=$PWD/x86_64-pc-linux-gnu meson install -C obj-x86_64-pc-linux-gnu --tags runtime
|
||||
cp ./LICENSE release-files/
|
||||
cp subprojects/wlroots/build/libwlroots.so.11032 release-files/
|
||||
cp x86_64-pc-linux-gnu/usr/local/bin/* release-files/
|
||||
cp -r example/ release-files/
|
||||
cp -r assets/ release-files/
|
||||
tar -cvf Hyprland.tar.xz -C release-files
|
||||
tar -cvf Hyprland.tar.xz release-files
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
|
Loading…
Reference in a new issue