Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Clay Chipps

Actions
Manage SF API Version
v0.1.1
Star (0)

Manage SF API Version

typescript-action status

A GitHub action that will automatically find all API version references in a given Salesforce project directory, and upgrade those API version references to the provided API version.

Usage

Example

name: Manage SF API Version
on:
  workflow_dispatch:
    inputs:
      api-version:
        description: 'api version in the format XX e.g 58'
        required: true
        type: string
jobs:
  update:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - name: Manage SF API Version
        uses: ClayChipps/manage-sf-api-version@v1
        with:
          api-version: ${{inputs.api-version}}
      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v5
        with:
          title: 'Bump API Versions to ${{inputs.api-version}}.0'
          body: 'Automatically bumped by GitHub Actions '
          branch: 'devops/bump-api-versions-v${{inputs.api-version}}.0'
          commit-message: 'chore: bump api to v${{inputs.api-version}}.0'

You can also pin to a specific release version in the format @v1.x.x

Action Inputs

Name Description Required
api-version The API version as a whole number e.g. 58 true

License

MIT

Clay Chipps is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Manage SF API Version
v0.1.1

Clay Chipps is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.