From 96efd024e7ad7802b7d83af23ecb10e88dce1a8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFs=20Postula?= Date: Mon, 22 Jul 2024 20:44:55 +0200 Subject: [PATCH] feat: rust-registry publish should accept a package inputs --- .github/workflows/rust_registry_publish.yml | 59 +++++++++++---------- 1 file changed, 31 insertions(+), 28 deletions(-) diff --git a/.github/workflows/rust_registry_publish.yml b/.github/workflows/rust_registry_publish.yml index 1f8e5ac..e927938 100644 --- a/.github/workflows/rust_registry_publish.yml +++ b/.github/workflows/rust_registry_publish.yml @@ -7,6 +7,9 @@ on: description: Was the crate released value: "true" inputs: + package: + description: Name of the package + type: string additional_args: type: string default: "" @@ -119,31 +122,31 @@ jobs: shell: bash working-directory: ${{ inputs.working_directory }} run: cargo publish - # - name: Write outputs to file - # shell: bash - # if: always() - # working-directory: ${{ runner.temp }} - # run: | - # tee -a ${{ inputs.package }}-rust-registry-publish.json <