mirror of
https://github.com/php-win-ext/php-windows-builder.git
synced 2026-03-26 10:02:17 +01:00
34 lines
662 B
YAML
34 lines
662 B
YAML
name: release
|
|
description: Upload the artifacts to a release
|
|
author: php
|
|
|
|
branding:
|
|
icon: package
|
|
color: purple
|
|
|
|
inputs:
|
|
release:
|
|
description: 'Git reference for the release'
|
|
required: true
|
|
token:
|
|
description: 'GitHub token'
|
|
required: true
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Get artifacts
|
|
uses: actions/download-artifact@v4
|
|
with:
|
|
path: artifacts
|
|
merge-multiple: true
|
|
|
|
- name: Upload artifacts
|
|
shell: bash
|
|
env:
|
|
GITHUB_TOKEN: ${{ inputs.token }}
|
|
run: gh release upload ${{ inputs.release }} artifacts/php* --clobber
|