Skip to content

Commit

Permalink
Add swagger-codegen installation in workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pijng committed Feb 17, 2024
1 parent 0b59c50 commit 9beb3a5
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,10 @@ jobs:
run: |
java -jar swagger-codegen-cli.jar generate -i swagger.yaml -l ruby -o moonlogs-ruby --additional-properties gemName=moonlogs-ruby gemVersion=${{ github.event.client_payload.tag_version }}
- name: Add Generated Files to Git
run: |
cd moonlogs-ruby
git config --global user.email "actions@github.com"
git config --global user.name "GitHub Actions"
git add .
- name: Push changes
uses: ad-m/github-push-action@master
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

- name: Publish gem
uses: dawidd6/action-publish-gem@v1
Expand Down

0 comments on commit 9beb3a5

Please sign in to comment.