Skip to content

ci: test arm64 release on macos #39

ci: test arm64 release on macos

ci: test arm64 release on macos #39

Workflow file for this run

name: Version
permissions:
contents: write
on:
workflow_dispatch:
push:
branches:
- master
- main
jobs:
version-patch:
name: Generate Version
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm install
- name: Configure git
run: |
git config --global user.name "GitHub Actions"
git config --global user.email ""
- name: Generate Version
run: |
npm version ${{ secrets.VERSION_CONTROL }} -m 'chore: release %s' --allow-same-version --no-commit-hooks
- name: Push Version to master
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master
force: true
- name: Push Version to tags
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: master
force: true
tags: true