Update publish.yml

This commit is contained in:
PaddiM8 2020-12-09 17:21:17 +01:00 committed by GitHub
parent bd5b9dfc4f
commit 07210ff83a

View File

@ -24,17 +24,16 @@ jobs:
- name: Publish CLI
run: cargo publish --manifest-path kalk_cli/Cargo.toml --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --verbose
release_ubuntu:
runs-on: ubuntu-latest
release:
name: release ${{ matrix.target }}
runs-on: ${{ matrix.target }}
strategy:
matrix:
target: [ubuntu-latest, macos-latest]
steps:
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: false
prerelease: false
- uses: actions/checkout@master
- name: Compile and release
uses: PaddiM8/rust-build.action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EXTRA_FILES: "README.md LICENSE"