Skip to content

Commit

Permalink
Github action release testing
Browse files Browse the repository at this point in the history
  • Loading branch information
atomic77 committed Dec 28, 2021
1 parent c96fc54 commit eea5d91
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,24 @@ jobs:
uses: actions/checkout@v2
- name: Build project
run: cargo build --release --locked
# - name: Bump version and push tag/create release point
# uses: anothrNick/[email protected]
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# WITH_V: true
# id: bump_version
- name: Bump version and push tag/create release point
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
INITIAL_VERSION: 0.2.1
id: bump_version
- name: "Create GitHub Release"
uses: actions/create-release@v1 # https://github.com/actions/create-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{steps.bump_version.outputs.tag}}
- name: Upload binary to release
uses: svenstaro/upload-release-action@v1-release
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: target/release/reqsink
asset_name: reqsink-linux-amd64
tag: latest
tag: ${{steps.bump_version.outputs.tag}}
overwrite: true

0 comments on commit eea5d91

Please sign in to comment.