mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2026-07-31 02:32:53 +08:00
Some checks failed
CI / coding-standards-analysis-php (push) Waiting to run
CI / static-code-analysis-php (push) Waiting to run
CI / tests-unit-php (7.4) (push) Waiting to run
CI / tests-unit-php (8.0) (push) Waiting to run
CI / tests-unit-php (8.1) (push) Waiting to run
CI / tests-unit-php (8.2) (push) Waiting to run
CI / tests-unit-php (8.3) (push) Waiting to run
CI / tests-unit-php (8.4) (push) Waiting to run
Build and distribute / build-and-distribute (push) Has been cancelled
37 lines
1 KiB
YAML
37 lines
1 KiB
YAML
name: Build and distribute
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
PACKAGE_VERSION:
|
|
description: 'Package Version'
|
|
required: false
|
|
push:
|
|
branches: [ 'dev/**' ]
|
|
paths:
|
|
- 'api/**'
|
|
- 'lib/**'
|
|
- 'src/**'
|
|
- 'modules/**'
|
|
- '.distignore'
|
|
- 'composer.*'
|
|
- 'package*'
|
|
- 'readme.txt'
|
|
- 'webpack.config.js'
|
|
- '*.php'
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build-and-distribute:
|
|
uses: inpsyde/reusable-workflows/.github/workflows/build-and-distribute.yml@feature/artifact-workflow-output
|
|
secrets:
|
|
GITHUB_USER_EMAIL: ${{ secrets.DEPLOYBOT_EMAIL }}
|
|
GITHUB_USER_NAME: ${{ secrets.DEPLOYBOT_USER }}
|
|
GITHUB_USER_SSH_KEY: ${{ secrets.DEPLOYBOT_SSH_PRIVATE_KEY }}
|
|
GITHUB_USER_SSH_PUBLIC_KEY: ${{ secrets.DEPLOYBOT_SSH_PUBLIC_KEY }}
|
|
NPM_REGISTRY_TOKEN: ${{ secrets.DEPLOYBOT_GITHUB_TOKEN_PACKAGES }}
|
|
with:
|
|
PACKAGE_VERSION: ${{ inputs.PACKAGE_VERSION }}
|
|
NODE_VERSION: 22
|