-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix readme and make release.yml pretty
- Loading branch information
Showing
2 changed files
with
30 additions
and
44 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,13 +9,13 @@ jobs: | |
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
- name: Checkout # ---------------------------------------------------------------- | ||
uses: actions/checkout@v1 | ||
- name: Set up Go 1.15 | ||
- name: Set up Go 1.15 # ---------------------------------------------------------- | ||
uses: actions/setup-go@v1 | ||
with: | ||
go-version: 1.15.11 | ||
- name: Build with xgo | ||
- name: Build with xgo # ---------------------------------------------------------- | ||
uses: crazy-max/ghaction-xgo@v1 | ||
with: | ||
xgo_version: latest | ||
|
@@ -26,7 +26,7 @@ jobs: | |
v: true | ||
x: false | ||
ldflags: -s -w | ||
- name: Create Release | ||
- name: Create Release # ---------------------------------------------------------- | ||
uses: actions/[email protected] | ||
id: create_release | ||
env: | ||
|
@@ -36,14 +36,14 @@ jobs: | |
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
- name: Upload Release Assets | ||
- name: Upload Release Assets # --------------------------------------------------- | ||
uses: glentiki/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GO_RELEASE_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps | ||
assets_path: ./build | ||
- name: Publish conda | ||
- name: Publish conda # ----------------------------------------------------------- | ||
uses: maxibor/[email protected] | ||
with: | ||
subDir: 'conda' | ||
|
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