Skip to content

Commit

Permalink
add release artifact job
Browse files Browse the repository at this point in the history
  • Loading branch information
realFlowControl committed Feb 14, 2025
1 parent f6a7e40 commit 1e10846
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/add-asset-to-gh-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
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 }}

0 comments on commit 1e10846

Please sign in to comment.