Skip to content

Commit

Permalink
fix: map output for jobs steps
Browse files Browse the repository at this point in the history
  • Loading branch information
yoannfleurydev committed Oct 17, 2020
1 parent 424bf8b commit f82bc8c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
publish_on_crates_io:
name: Publish on crates.io
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
steps:
- uses: actions/checkout@v2
- name: Login to crates.io
Expand Down Expand Up @@ -50,7 +52,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ needs.publish_on_crates_io.outputs.upload_url }}
asset_path: ./target/release/gitweb
asset_name: gitweb-linux
asset_content_type: application/x-sharedlib
Expand All @@ -72,7 +74,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ needs.publish_on_crates_io.outputs.upload_url }}
asset_path: ./target/release/gitweb.exe
asset_name: gitweb-windows.exe
asset_content_type: application/x-dosexec
Expand All @@ -94,7 +96,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
upload_url: ${{ needs.publish_on_crates_io.outputs.upload_url }}
asset_path: ./target/release/gitweb
asset_name: gitweb-macos
asset_content_type: application/x-mach-binary
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.5] - 2020-10-17

### Changed

- fix: map output for jobs steps

## [0.2.4] - 2020-10-17

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gitweb"
version = "0.2.4"
version = "0.2.5"
authors = ["Yoann Fleury <[email protected]>"]
edition = "2018"
description = "Open the current remote repository in your browser"
Expand Down

0 comments on commit f82bc8c

Please sign in to comment.