chore: update action to actions/cache@v3 #4
Workflow file for this run
This file contains 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: Build Client | |
on: | |
workflow_call: | |
secrets: | |
token: | |
description: 'The GitHub/npm token' | |
required: true | |
jobs: | |
getver: | |
uses: OpenPhone/gha/.github/workflows/getver.yml@v4 | |
build-client: | |
name: Build and Publish Client | |
runs-on: ubuntu-22.04 | |
needs: getver | |
if: github.event_name == 'push' | |
defaults: | |
run: | |
working-directory: ./client | |
steps: | |
- name: Build | |
uses: OpenPhone/gha/.github/workflows/build-typescript-project-client.yml@v4 | |
- name: Publish | |
uses: OpenPhone/gha/.github/actions/publish@v4 | |
with: | |
token: ${{ inputs.token }} | |
version: ${{ needs.getver.outputs.version }} |