Localization Push Action #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Localization Push Action | |
on: | |
workflow_dispatch: | |
jobs: | |
sync_localizations: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Push JSON to Google Sheets | |
uses: ./ # Use the local action | |
with: | |
action: push | |
google_api_key_json: ${{ secrets.GOOGLE_API_KEY_JSON }} | |
spreadsheet_id: ${{ vars.SPREADSHEET_ID }} | |
localization_root: ./Acme.BookStore/src/Acme.BookStore.Domain.Shared/Localization |