mirror of
https://github.com/shivammathur/setup-php.git
synced 2026-07-25 02:20:53 -03:00
Some checks failed
Node workflow / Run (ubuntu-latest) (push) Successful in 3m35s
CodeQL Workflow / CodeQL Analysis (push) Failing after 27m11s
Node workflow / Run (macos-latest) (push) Has been cancelled
Node workflow / Run (windows-latest) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 5.3) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 5.4) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 5.5) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 5.6) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 7.0) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 7.1) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 7.2) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 7.3) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 7.4) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 8.0) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 8.1) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 8.2) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 8.3) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 8.4) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 8.5) (push) Has been cancelled
Main workflow / Run (macos-15-intel, 8.6) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 5.3) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 5.4) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 5.5) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 5.6) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 7.0) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 7.1) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 7.2) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 7.3) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 7.4) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 8.0) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 8.1) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 8.2) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 8.3) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 8.4) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 8.5) (push) Has been cancelled
Main workflow / Run (ubuntu-22.04, 8.6) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 5.3) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 5.4) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 5.5) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 5.6) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 7.0) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 7.1) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 7.2) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 7.3) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 7.4) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 8.0) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 8.1) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 8.2) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 8.3) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 8.4) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 8.5) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, 8.6) (push) Has been cancelled
Main workflow / Run (ubuntu-24.04, php-version-file, ) (push) Has been cancelled
Main workflow / Run (windows-2022, 5.3) (push) Has been cancelled
Main workflow / Run (windows-2022, 5.4) (push) Has been cancelled
Main workflow / Run (windows-2022, 5.5) (push) Has been cancelled
Main workflow / Run (windows-2022, 5.6) (push) Has been cancelled
Main workflow / Run (windows-2022, 7.3) (push) Has been cancelled
Main workflow / Run (windows-2022, 7.4) (push) Has been cancelled
Main workflow / Run (windows-2022, 8.0) (push) Has been cancelled
Main workflow / Run (windows-2022, 8.1) (push) Has been cancelled
Main workflow / Run (windows-2022, 8.2) (push) Has been cancelled
Main workflow / Run (windows-2022, 8.3) (push) Has been cancelled
Main workflow / Run (windows-2022, 8.4) (push) Has been cancelled
Main workflow / Run (windows-2022, 8.6) (push) Has been cancelled
Main workflow / Run (windows-2022, 7.0) (push) Has been cancelled
Main workflow / Run (windows-2022, 7.1) (push) Has been cancelled
Main workflow / Run (windows-2022, 7.2) (push) Has been cancelled
Main workflow / Run (windows-2022, 8.5) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 5.3) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 5.4) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 5.5) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 5.6) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 7.0) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 7.1) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 7.2) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 7.3) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 7.4) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 8.0) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 8.1) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 8.2) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 8.3) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 8.4) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 8.5) (push) Has been cancelled
Docs workflow / Create (macos-15-intel, 8.6) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 5.3) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 5.4) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 5.5) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 5.6) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 7.0) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 7.1) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 7.2) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 7.3) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 7.4) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 8.0) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 8.1) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 8.2) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 8.3) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 8.4) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 8.5) (push) Has been cancelled
Docs workflow / Create (ubuntu-22.04, 8.6) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 5.3) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 5.4) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 5.5) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 5.6) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 7.0) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 7.1) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 7.2) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 7.3) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 7.4) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 8.0) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 8.1) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 8.2) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 8.3) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 8.4) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 8.5) (push) Has been cancelled
Docs workflow / Create (ubuntu-24.04, 8.6) (push) Has been cancelled
Docs workflow / Create (windows-2022, 5.3) (push) Has been cancelled
Docs workflow / Create (windows-2022, 5.4) (push) Has been cancelled
Docs workflow / Create (windows-2022, 5.5) (push) Has been cancelled
Docs workflow / Create (windows-2022, 5.6) (push) Has been cancelled
Docs workflow / Create (windows-2022, 7.0) (push) Has been cancelled
Docs workflow / Create (windows-2022, 7.1) (push) Has been cancelled
Docs workflow / Create (windows-2022, 7.2) (push) Has been cancelled
Docs workflow / Create (windows-2022, 7.3) (push) Has been cancelled
Docs workflow / Create (windows-2022, 7.4) (push) Has been cancelled
Docs workflow / Create (windows-2022, 8.0) (push) Has been cancelled
Docs workflow / Create (windows-2022, 8.1) (push) Has been cancelled
Docs workflow / Create (windows-2022, 8.2) (push) Has been cancelled
Docs workflow / Create (windows-2022, 8.3) (push) Has been cancelled
Docs workflow / Create (windows-2022, 8.4) (push) Has been cancelled
Docs workflow / Create (windows-2022, 8.5) (push) Has been cancelled
Docs workflow / Create (windows-2022, 8.6) (push) Has been cancelled
Docs workflow / Update (push) Has been cancelled
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [github/codeql-action](https://github.com/github/codeql-action) and [codecov/codecov-action](https://github.com/codecov/codecov-action). Updates `actions/checkout` from 6.0.2 to 6.0.3 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](de0fac2e45...df4cb1c069) Updates `github/codeql-action` from 4.36.0 to 4.36.2 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](7211b7c807...8aad20d150) Updates `codecov/codecov-action` from 6.0.1 to 7.0.0 - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](e79a6962e0...fb8b3582c8) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: github/codeql-action dependency-version: 4.36.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: codecov/codecov-action dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
73 lines
2.2 KiB
YAML
73 lines
2.2 KiB
YAML
name: Publish Package
|
|
on:
|
|
release:
|
|
types: [created]
|
|
workflow_dispatch:
|
|
inputs:
|
|
skip:
|
|
description: Skip release to repository
|
|
required: false
|
|
tag:
|
|
description: Tag name
|
|
required: true
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: false
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
build:
|
|
name: Build and Publish
|
|
permissions:
|
|
contents: read # for actions/checkout
|
|
packages: write # For publishing to GitHub Packages
|
|
id-token: write # For authentication with npm registry
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout release
|
|
if: github.event_name != 'workflow_dispatch'
|
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Checkout tag
|
|
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
|
|
if: github.event_name == 'workflow_dispatch'
|
|
with:
|
|
ref: ${{ github.event.inputs.tag }}
|
|
persist-credentials: false
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
|
|
with:
|
|
node-version: '24.x'
|
|
registry-url: https://registry.npmjs.org
|
|
package-manager-cache: false
|
|
|
|
- name: Install dependencies and add lib
|
|
run: |
|
|
npm install
|
|
npm run build
|
|
sed -i -e '/lib\//d' .gitignore
|
|
|
|
- name: Publish to NPM
|
|
if: "!contains(github.event.inputs.skip, 'skip-npm')"
|
|
run: npm publish --access public
|
|
|
|
- name: Change to GitHub Packages registry
|
|
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
|
|
with:
|
|
registry-url: https://npm.pkg.github.com
|
|
package-manager-cache: false
|
|
scope: '@shivammathur'
|
|
|
|
- name: Patch package.json
|
|
run: |
|
|
sed -i 's#"name": "#"name": "@shivammathur/#' package.json
|
|
|
|
- name: Publish to GitHub Packages
|
|
if: "!contains(github.event.inputs.skip, 'skip-github-packages')"
|
|
run: npm publish
|
|
env:
|
|
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|