File tree Expand file tree Collapse file tree 2 files changed +29
-3
lines changed
Expand file tree Collapse file tree 2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 1313 default : false
1414
1515jobs :
16+ generate-cd-inputs :
17+ runs-on : ubuntu-latest
18+ outputs :
19+ description : ${{ steps.set-outputs.outputs.description }}
20+ homepage : ${{ steps.set-outputs.outputs.homepage }}
21+ maintainer : ${{ steps.set-outputs.outputs.maintainer }}
22+ project-name : ${{ steps.set-outputs.outputs.project-name }}
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v3
26+ - name : Set outputs
27+ id : set-outputs
28+ run : |
29+ set -eu pipefail
30+ echo "::set-output name=description::$(grep ^description Cargo.toml | cut -d'=' -f2 | sed -e 's/\s*//' -e 's/\"//g')"
31+ echo "::set-output name=homepage::$(grep ^repository Cargo.toml | cut -d'=' -f2 | sed -e 's/\s*//' -e 's/\"//g')"
32+ echo "::set-output name=maintainer::$(grep ^authors Cargo.toml | cut -d'=' -f2 | sed -e 's/[][]//g' -e 's/\s*//' -e 's/\"//g')"
33+ echo "::set-output name=project-name::$(grep ^name Cargo.toml | cut -d'=' -f2 | sed -e 's/\s*//' -e 's/\"//g')"
34+
1635 cd :
17- uses : mihaigalos/config/.github/workflows/rust-cd-crates-io-only.yaml@main
36+ uses : mihaigalos/config/.github/workflows/rust-cd-crates-io-and-github.yaml@main
37+ needs :
38+ - generate-cd-inputs
39+ with :
40+ COPYRIGHT_YEARS : 2021-3021
41+ DESCRIPTION : ${{ needs.generate-cd-inputs.outputs.description }}
42+ HOMEPAGE : ${{ needs.generate-cd-inputs.outputs.homepage }}
43+ MAINTAINER : ${{ needs.generate-cd-inputs.outputs.maintainer }}
44+ PROJECT_NAME : ${{ needs.generate-cd-inputs.outputs.project-name }}
1845 secrets :
1946 CARGO_API_KEY : ${{ secrets.CARGO_API_KEY }}
20-
Original file line number Diff line number Diff line change 11[package ]
22name = " dusage"
3- version = " 0.3.4 "
3+ version = " 0.3.5 "
44edition = " 2021"
55authors = [" Mihai Galos <mihaigalos@gmail.com>" ]
66description = " 💾 A command line disk usage information tool: disk usage (foreground), inodes (background)."
You can’t perform that action at this time.
0 commit comments