Update copilot.vim to 1.41.0 #10
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "v*" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
build: | |
name: Build binary | |
runs-on: | |
- self-hosted | |
- bundle | |
env: | |
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }} | |
MACOS_CERTIFICATE_PASSWORD: ${{ secrets.MACOS_CERTIFICATE_PASSWORD }} | |
steps: | |
- name: Install Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Checkout repo | |
uses: actions/checkout@v2 | |
with: | |
clean: false | |
submodules: 'recursive' | |
- name: Create tarball | |
run: script/build | |
- name: Upload tarball to workflow run if main branch | |
uses: actions/upload-artifact@v2 | |
with: | |
name: copilot.tar.gz | |
path: dist/copilot.tar.gz | |
- uses: softprops/action-gh-release@v1 | |
name: Upload binaries to release if release tag | |
if: ${{ startsWith(github.ref, 'refs/tags/v') }} | |
with: | |
draft: true | |
files: dist/* | |
overwrite: true | |
body: "" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |