Skip to content

Commit f82bc8c

Browse files
fix: map output for jobs steps
1 parent 424bf8b commit f82bc8c

4 files changed

Lines changed: 13 additions & 5 deletions

File tree

.github/workflows/publish.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
publish_on_crates_io:
1010
name: Publish on crates.io
1111
runs-on: ubuntu-latest
12+
outputs:
13+
upload_url: ${{ steps.create_release.outputs.upload_url }}
1214
steps:
1315
- uses: actions/checkout@v2
1416
- name: Login to crates.io
@@ -50,7 +52,7 @@ jobs:
5052
env:
5153
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5254
with:
53-
upload_url: ${{ steps.create_release.outputs.upload_url }}
55+
upload_url: ${{ needs.publish_on_crates_io.outputs.upload_url }}
5456
asset_path: ./target/release/gitweb
5557
asset_name: gitweb-linux
5658
asset_content_type: application/x-sharedlib
@@ -72,7 +74,7 @@ jobs:
7274
env:
7375
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7476
with:
75-
upload_url: ${{ steps.create_release.outputs.upload_url }}
77+
upload_url: ${{ needs.publish_on_crates_io.outputs.upload_url }}
7678
asset_path: ./target/release/gitweb.exe
7779
asset_name: gitweb-windows.exe
7880
asset_content_type: application/x-dosexec
@@ -94,7 +96,7 @@ jobs:
9496
env:
9597
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9698
with:
97-
upload_url: ${{ steps.create_release.outputs.upload_url }}
99+
upload_url: ${{ needs.publish_on_crates_io.outputs.upload_url }}
98100
asset_path: ./target/release/gitweb
99101
asset_name: gitweb-macos
100102
asset_content_type: application/x-mach-binary

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.2.5] - 2020-10-17
9+
10+
### Changed
11+
12+
- fix: map output for jobs steps
13+
814
## [0.2.4] - 2020-10-17
915

1016
### Changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "gitweb"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
authors = ["Yoann Fleury <yoann.fleury@yahoo.com>"]
55
edition = "2018"
66
description = "Open the current remote repository in your browser"

0 commit comments

Comments
 (0)