mirror of
https://github.com/iofq/nvim.nix.git
synced 2026-01-23 08:55:16 -06:00
test workflow
This commit is contained in:
parent
d28f5708de
commit
72f3adeca1
1 changed files with 10 additions and 10 deletions
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
|
|
@ -9,6 +9,11 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- package_name: full
|
||||||
|
- package_name: minimal
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
|
@ -17,20 +22,15 @@ jobs:
|
||||||
id: build
|
id: build
|
||||||
run: |
|
run: |
|
||||||
nix bundle \
|
nix bundle \
|
||||||
-o nvim.AppImage \
|
-o nvim-${{ matrix.package_name }}.AppImage \
|
||||||
--bundler github:ralismark/nix-appimage \
|
--bundler github:ralismark/nix-appimage \
|
||||||
--extra-experimental-features nix-command \
|
--extra-experimental-features nix-command \
|
||||||
--extra-experimental-features flakes .#full
|
--extra-experimental-features flakes .#${{ matrix.package_name }}
|
||||||
nix bundle \
|
|
||||||
-o nvim-minimal.AppImage \
|
|
||||||
--bundler github:ralismark/nix-appimage \
|
|
||||||
--extra-experimental-features nix-command \
|
|
||||||
--extra-experimental-features flakes .#minimal
|
|
||||||
ls -lahrt && pwd
|
|
||||||
|
|
||||||
- name: Upload bundle to release
|
- name: Upload bundle to release
|
||||||
|
if: github.ref == 'master' && ${{ success() }}
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: svenstaro/upload-release-action@v2
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: "./*.AppImage"
|
file: "nvim-${{ matrix.package_name }}.AppImage"
|
||||||
|
tag: latest
|
||||||
overwrite: true
|
overwrite: true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue