From fccc3e44a5fe1804b2ee2f1f23ea12a5c28167c8 Mon Sep 17 00:00:00 2001 From: Sota SAITO Date: Mon, 31 Oct 2022 10:41:30 +0900 Subject: [PATCH] fix "every step must define a `uses` or `run` key" --- .github/workflows/release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b498025..e4ba1df 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,8 +16,7 @@ jobs: - run: bundle exec rake build - id: gem run: echo "::set-output name=result::$(find pkg -name 'deploygate-*.gem' -type f | head -1)" - - run: - command: | + - run: | curl --data-binary '@${{ steps.result.outputs.result }}' \ -H 'Authorization: ${{ secrets.RUBYGEMS_API_KEY }}' \ "https://rubygems.org/api/v1/gems" @@ -26,4 +25,4 @@ jobs: payload: "{\"text\": \"Released a deploygate gem in \"}" env: SLACK_WEBHOOK_URL: ${{ secrets.SHARED_FOR_RELEASE_ARTIFACT_SLACK_INCOMING_WEBHOOK_URL }} - SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK \ No newline at end of file + SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK