Skip to content

Commit

Permalink
add back zipping of serverless binaries with proper github permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanpharvey committed Oct 2, 2024
1 parent b8a7d2d commit 34bb426
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/publish-serverless-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
build-windows:
name: Build Windows
runs-on: windows-latest
permissions:
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -59,8 +61,12 @@ jobs:
chmod +x "$file"
upx "$file" --lzma
done
- name: Upload binaries
uses: actions/upload-artifact@v4
- name: Zip binaries
run: zip -r datadog-serverless-agent.zip ./*
working-directory: target/release/binaries
- name: Release
uses: softprops/action-gh-release@v2
with:
name: datadog-serverless-agent
path: target/release/binaries/*/*
draft: true
generate_release_notes: true
files: target/release/binaries/datadog-serverless-agent.zip

0 comments on commit 34bb426

Please sign in to comment.