Skip to content

Commit

Permalink
remove locked
Browse files Browse the repository at this point in the history
  • Loading branch information
Firaenix committed Sep 13, 2020
1 parent 8827e42 commit 03ec5fe
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 67 deletions.
47 changes: 0 additions & 47 deletions .github/workflows/publish.yml

This file was deleted.

36 changes: 16 additions & 20 deletions .github/workflows/rust-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,15 @@ name: Publish
on:
push:
tags:
- '*'
- "*"

jobs:
publish:
name: Publish for ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
name: [
linux,
windows,
macos
]
name: [linux, windows, macos]

include:
- name: linux
Expand All @@ -32,20 +28,20 @@ jobs:
asset_name: bping-macos

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v1

- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

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

- 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 }}
- 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 }}

0 comments on commit 03ec5fe

Please sign in to comment.