Skip to content

Set package.json version to 2.7.0 #107

Set package.json version to 2.7.0

Set package.json version to 2.7.0 #107

on:
push:
branches:
- main
permissions:
contents: write
jobs:
bump-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Bump version and push tag
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_BRANCHES: main
generate-typescript-package:
needs: bump-tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: "npm"
node-version-file: ".nvmrc"
- name: install
run: npm install
- name: generate and publish
run: ./gen-typescript.sh release ${VERSION}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
VERSION: ${{ needs.bump-tag.outputs.new_tag }}
generate-swift-package:
needs: bump-tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/generate-native-package
with:
access_token: ${{ secrets.ACCESS_TOKEN }}
platform: "ios"
release_type: "release"
version: ${{ needs.bump-tag.outputs.new_tag }}
generate-android-package:
needs: bump-tag
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/generate-native-package
with:
access_token: ${{ secrets.ACCESS_TOKEN }}
platform: "android"
release_type: "release"
version: ${{ needs.bump-tag.outputs.new_tag }}