Update additionaldomainfields.php #9
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: Release | |
on: | |
push: | |
branches: | |
- master # or main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install pnpm | |
uses: pnpm/action-setup@v3 | |
with: | |
version: 9 | |
- name: Setup Node LTS | |
uses: actions/setup-node@v4 | |
with: | |
cache: 'pnpm' | |
node-version: "lts/*" | |
- name: Install dependencies | |
run: pnpm install | |
- name: Create release.zip | |
uses: montudor/action-zip@v1 | |
with: | |
args: zip -qq -r release.zip modules LICENSE README.md | |
- name: Generate checksum | |
uses: jmgilman/actions-generate-checksum@v1 | |
with: | |
patterns: | | |
release.zip | |
- name: Release | |
env: | |
WHMCSMP_LOGIN: ${{ vars.WHMCSMP_LOGIN }} | |
WHMCSMP_PASSWORD: ${{ secrets.WHMCSMP_PASSWORD }} | |
WHMCSMP_PRODUCTID: ${{ vars.WHMCSMP_PRODUCTID }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: pnpm semantic-release |