Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nkraetzschmar committed Oct 26, 2023
1 parent b222385 commit c882a50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
done
done <<< '${{ inputs.dependencies }}'
ls -lah _pkgs
dpkg-scanpackages _pkgs > _pkgs/Packages
dpkg-scanpackages --multiversion _pkgs > _pkgs/Packages
cat _pkgs/Packages
- name: build
id: build
run: |
pkg="$(podman run --rm -v "$PWD/input:/input" -v "$PWD/output:/output" -v "$PWD/_pkgs:/_pkgs" "${{ inputs.build_container }}:amd64" build_source)"
pkg="$(podman run --rm -v "$PWD/input:/input" -v "$PWD/output:/output" -v "$PWD/_pkgs:/pkgs" "${{ inputs.build_container }}:amd64" build_source)"
echo "pkg=$pkg" | tee -a "$GITHUB_OUTPUT"
echo "build_options=$(cat output/.build_options)" | tee -a "$GITHUB_OUTPUT"
- name: check if ${{ env.pkg }} already released
Expand Down Expand Up @@ -110,13 +110,13 @@ jobs:
done
done <<< '${{ inputs.dependencies }}'
ls -lah _pkgs
dpkg-scanpackages _pkgs > _pkgs/Packages
dpkg-scanpackages --multiversion _pkgs > _pkgs/Packages
cat _pkgs/Packages
- name: build
id: build
run: |
mkdir output
pkg="$(podman run --rm -v "$PWD/input:/input" -v "$PWD/output:/output" -v "$PWD/_pkgs:/_pkgs" "${{ inputs.build_container }}:${{ matrix.arch }}" "build_${{ matrix.target }}")"
pkg="$(podman run --rm -v "$PWD/input:/input" -v "$PWD/output:/output" -v "$PWD/_pkgs:/pkgs" "${{ inputs.build_container }}:${{ matrix.arch }}" "build_${{ matrix.target }}")"
echo "pkg=$pkg" | tee -a "$GITHUB_OUTPUT"
- name: upload packages
if: ${{ steps.build.outputs.pkg != '' }}
Expand Down

0 comments on commit c882a50

Please sign in to comment.