Skip to content

Commit

Permalink
try to install openapi-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kononenko committed Oct 25, 2024
1 parent a34d2d5 commit c35c051
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/generate-tidal-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,21 @@ permissions:

jobs:
codegen:
runs-on: ubuntu-latest
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "eval \"\$($(brew --prefix)/bin/brew shellenv)\"" >> $GITHUB_ENV

- name: Install openapi-generator
# Step 2: Install OpenAPI Generator via Homebrew
- name: Install OpenAPI Generator with Homebrew
run: |
source $GITHUB_ENV
brew update
brew install openapi-generator
brew list
- name: Run Code Generation Script
run: |
cd ./Sources/TidalAPI/
chmod +x generate_and_clean.sh
./generate_and_clean.sh
- name: Check for changes in Generated folder
Expand Down

0 comments on commit c35c051

Please sign in to comment.