From 2b7fb01a98fcfbd05ddeb009e72f024760f7ac85 Mon Sep 17 00:00:00 2001 From: Cristiano Piemontese Date: Tue, 26 Sep 2023 15:33:22 +0200 Subject: [PATCH 1/2] forgot to add reason --- .github/workflows/retire.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/retire.yml b/.github/workflows/retire.yml index 62bd356..e2820a6 100644 --- a/.github/workflows/retire.yml +++ b/.github/workflows/retire.yml @@ -28,6 +28,7 @@ jobs: runs-on: ubuntu-latest env: MESSAGE: ${{ inputs.message }} + REASON: ${{ inputs.reason }} VERSION: ${{ inputs.version }} steps: - uses: actions/checkout@v4 @@ -40,4 +41,4 @@ jobs: env: HEX_AUTH_KEY: ${{ secrets.HEX_AUTH_KEY }} - run: mix hex.user whoami - - run: mix hex.retire prima_auth0_ex $VERSION --message $MESSAGE + - run: mix hex.retire prima_auth0_ex $VERSION $REASON --message $MESSAGE From 0c5461cf6786829a984aa7fe5ed413bb5b273ab7 Mon Sep 17 00:00:00 2001 From: Cristiano Piemontese Date: Tue, 26 Sep 2023 15:45:38 +0200 Subject: [PATCH 2/2] quote args to avoid dragons --- .github/workflows/retire.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/retire.yml b/.github/workflows/retire.yml index e2820a6..aa4b930 100644 --- a/.github/workflows/retire.yml +++ b/.github/workflows/retire.yml @@ -41,4 +41,4 @@ jobs: env: HEX_AUTH_KEY: ${{ secrets.HEX_AUTH_KEY }} - run: mix hex.user whoami - - run: mix hex.retire prima_auth0_ex $VERSION $REASON --message $MESSAGE + - run: mix hex.retire prima_auth0_ex "$VERSION" "$REASON" --message "$MESSAGE"