add release artifact job #1
Workflow file for this run
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
on: | ||
workflow_dispatch: | ||
inputs: | ||
packagesUrl: | ||
description: 'URL for `packages.tar.gz` to add to release' | ||
required: true | ||
releaseVersion: | ||
description: 'Version to add the assets to' | ||
required: true | ||
jobs: | ||
add-assets-to-release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
curl -LO $PACKAGES_URL | ||
tar -xvzf packages.tar.gz | ||
cd build/packages/ | ||
gh release upload -R DataDog/dd-trace-php --clobber $RELEASE * | ||
env: | ||
PACKAGES_URL: ${{ inputs.packagesUrl }} | ||
RELEASE: ${{ inputs.releaseVersion }} |