Skip to content

add release artifact job #1

add release artifact job

add release artifact job #1

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

Check failure on line 13 in .github/workflows/add-asset-to-gh-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/add-asset-to-gh-release.yml

Invalid workflow file

You have an error in your yaml syntax on line 13
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 }}