We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fec61b commit c102d55Copy full SHA for c102d55
.github/workflows/build.yml
@@ -92,5 +92,15 @@ jobs:
92
UNITTMP: ${{ github.workspace }}/unit_temp
93
upload_url: ${{ env.upload_url }}
94
95
+ - name: Publish to GitHub Packages
96
+ run: |
97
+ echo "Publishing package to GitHub Packages..."
98
+ package_name="unit-php${{ matrix.php_version }}.deb"
99
+ package_path="$UNITTMP/$package_name"
100
+ curl -X PUT -u ${{ github.actor }}:${{ secrets.RELEASE_TOKEN }} \
101
+ -H "Content-Type: application/octet-stream" \
102
+ --data-binary @$package_path \
103
+ "https://maven.pkg.github.com/${{ github.repository }}/packages/$package_name"
104
+
105
106
0 commit comments