Skip to content

Commit

Permalink
Try publishing binary via GA (#208)
Browse files Browse the repository at this point in the history
* Add coompile GA

.

.

.

.

.

.

.

.

Update compile.yml

Update compile.yml

Update compile.yml

Update compile.yml

.

.

.

.

Update compile.yml

Update compile.yml

.

.

.

* .

* Update CHANGELOG
  • Loading branch information
liuchengxu committed Jan 6, 2020
1 parent 2432285 commit 1953c17
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 1 deletion.
38 changes: 37 additions & 1 deletion .github/workflows/release.yml
Expand Up @@ -14,8 +14,8 @@ on:
name: Create Release

jobs:
build:

release:
name: Create Release
runs-on: ubuntu-latest
steps:
Expand All @@ -40,3 +40,39 @@ jobs:
${{ steps.changelog.outputs.log }}
draft: false
prerelease: false

publish:
name: Publish for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
artifact_name: maple
asset_name: maple-linux-amd64

- os: windows-latest
artifact_name: maple.exe
asset_name: maple-windows-amd64

- os: macos-latest
artifact_name: maple
asset_name: maple-macos-amd64

steps:
- uses: hecrj/setup-rust-action@v1-release
with:
rust-version: stable

- uses: actions/checkout@v1

- name: Build
run: cargo build --release --locked

- name: Upload binaries to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/${{ matrix.artifact_name }}
asset_name: ${{ matrix.asset_name }}
tag: ${{ github.ref }}
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -10,10 +10,12 @@ __pycache__
[1-9]*.vim
/doc/tags
/target
/bin

!.editorconfig
!.travis.yml
!.gitignore
!.github
!.vintrc.yaml
!.dependabot
!bin/.gitkeep
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,7 @@ CHANGELOG
- Add an option `g:clap_disable_bottom_top`( `0` by default) for disabling wrapping top-to-bottom when pressing ctrl-j/ctrl-k at the bottom/top of the results.
- Add open action support for `:Clap buffers`.
- Add open action support for `:Clap git_files`.
- Add `<C-U>` mapping for clearning the input.

### Improved

Expand Down
Empty file added bin/.gitkeep
Empty file.

0 comments on commit 1953c17

Please sign in to comment.