1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-23 19:21:53 +03:00

Update nightly scripts

This commit is contained in:
Tae Won Ha 2022-06-26 11:16:22 +02:00
parent e50ae17e6c
commit df2eb9cefa
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44
2 changed files with 13 additions and 15 deletions

View File

@ -2,7 +2,7 @@ name: "Build VimR nightly on tag"
on:
push:
tags:
- 'nightly'
- 'neovim-nightly'
jobs:
Build-universal:
@ -20,17 +20,10 @@ jobs:
- name: Build VimR
run: |
code_sign=false clean=true use_carthage_cache=false ./bin/build_nightly.sh
#- name: Create release and upload artifact
# env:
# GH_REPO: ${{ github.repository }}
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: |
# gh release create ${{ github.ref_name }}
# gh release upload ${{ github.ref_name }} .build/x86_64-apple-macosx/release/NvimServer-x86_64.tar.bz2
#- uses: actions/upload-artifact@v2
# with:
# name: NvimServer-x86_64
# path: .build/x86_64-apple-macosx/release/NvimServer-x86_64.tar.bz2
# if-no-files-found: error
# retention-days: 7
- name: Replace artifact
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh release ${{ github.ref_name }} ./build/Build/Products/ReleaseVimR-neovim-nightly-unsigned.tar.bz2 --clobber

View File

@ -54,7 +54,12 @@ main () {
./bin/sign_vimr.sh
fi
echo "### Built VimR target"
pushd "${build_path}/Build/Products/Release" >/dev/null
tar cjf "VimR-neovim-nightly-unsigned.tar.bz2" VimR.app
echo "### VimR nightly packaged to ${build_path}/Build/Products/ReleaseVimR-neovim-nightly-unsigned.tar.bz2"
popd >/dev/null
echo "### Built VimR nightly"
popd >/dev/null
}