Skip to content

Commit 285a755

Browse files
committed
ci: simplify release workflow
1 parent 5d84ddc commit 285a755

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release
1+
name: release
22
on:
33
schedule:
44
- cron: '5 5 * * *'
@@ -20,19 +20,12 @@ env:
2020
# Build with zig cc so we can target glibc 2.17, so we have broader compatibility
2121
jobs:
2222
linux:
23-
runs-on: ubuntu-22.04
23+
runs-on: ubuntu-latest
2424
outputs:
2525
version: ${{ steps.build.outputs.version }}
26+
env:
27+
LDAI_NO_APPSTREAM: 1 # skip checking (broken) AppStream metadata for issues
2628
steps:
27-
- name: Install deps from apt
28-
run: |
29-
sudo apt-get update
30-
sudo apt-get install -y fuse libfuse2 # For linuxdeploy.
31-
sudo apt-get install -y build-essential curl gettext ninja-build unzip cmake
32-
sudo apt-get install -y xz-utils # To extract zig
33-
# Workaround for https://github.com/actions/checkout/issues/766.
34-
git config --global --add safe.directory "$GITHUB_WORKSPACE"
35-
3629
- if: github.event_name == 'workflow_dispatch' && github.event.inputs.tag_name != 'nightly'
3730
uses: actions/checkout@v4
3831
with:
@@ -46,10 +39,9 @@ jobs:
4639
repository: 'neovim/neovim'
4740
fetch-depth: 0
4841

49-
# zig cc with -02 implicitly adds -DNDEBUG so remove this from the generator flags
50-
# Not needed for 0.10.1+ : https://github.com/neovim/neovim/pull/29599
51-
- name: Patch Neovim
52-
run: sed -i '/APPEND gen_cflags -O2/d' src/nvim/CMakeLists.txt || true
42+
- uses: ./.github/actions/setup
43+
44+
- run: sudo apt-get install -y fuse libfuse2 # For linuxdeploy.
5345

5446
- name: Add "$BIN_DIR" to path
5547
run: |

0 commit comments

Comments
 (0)