Skip to content

Commit

Permalink
Update build_packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
isboston committed Dec 21, 2024
1 parent 56890df commit 90fd236
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ jobs:
${BRANCH_SERVER//\//}" | head -n1)
echo "PRODUCT_VERSION=${PRODUCT_VERSION:-3.0.1}" >> $GITHUB_ENV
- name: Free Disk Space
run: |
sudo rm -rf /usr/local/lib/android /opt/ghc
sudo docker image prune --all --force
# - name: Free Disk Space
# run: |
# sudo rm -rf /usr/local/lib/android /opt/ghc
# sudo docker image prune --all --force

# - name: Import GPG
# uses: crazy-max/ghaction-import-gpg@v6
Expand Down Expand Up @@ -234,6 +234,8 @@ jobs:
deb_build="${{ github.event.inputs.deb_build }}"
rpm_build="${{ github.event.inputs.rpm_build }}"
[[ "${{ steps.changes.outputs.build_all }}" == "true" ]] && deb_build="true" && rpm_build="true"
echo "deb_build: $deb_build"
echo "rpm_build: $rpm_build"
curl \
-X POST \
-u "${{ secrets.USERNAME}}:${{secrets.TOKEN}}" \
Expand All @@ -242,8 +244,8 @@ jobs:
--data '{
"ref": "'"${{ github.ref_name }}"'",
"inputs": {
"deb_build": ${deb_build},
"rpm_build": ${rpm_build}
"deb_build": "${deb_build}",
"rpm_build": "${rpm_build}"
}
}'

0 comments on commit 90fd236

Please sign in to comment.