From f82bc8c12431a46940fc624e2236755a4b1a5c0a Mon Sep 17 00:00:00 2001 From: Yoann Fleury Date: Sat, 17 Oct 2020 18:48:20 +0200 Subject: [PATCH] fix: map output for jobs steps --- .github/workflows/publish.yaml | 8 +++++--- CHANGELOG.md | 6 ++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index d880874..e68ea2a 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 00cc371..8626eba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.lock b/Cargo.lock index dd9670d..5067e99 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -123,7 +123,7 @@ dependencies = [ [[package]] name = "gitweb" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "flexi_logger", diff --git a/Cargo.toml b/Cargo.toml index 19aac3e..b8149d7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "gitweb" -version = "0.2.4" +version = "0.2.5" authors = ["Yoann Fleury "] edition = "2018" description = "Open the current remote repository in your browser"