diff --git a/.github/workflows/build_pkg.yml b/.github/workflows/build_pkg.yml index 81cfd3a..b996703 100644 --- a/.github/workflows/build_pkg.yml +++ b/.github/workflows/build_pkg.yml @@ -30,7 +30,7 @@ on: type: string source_name: type: string - default: "${{ github.event.repository.name }}" + default: "${{ github.workflow }}" debian_source: type: string default: "" @@ -86,6 +86,8 @@ jobs: - name: build id: build run: | + echo ${{ github.workflow }} + echo ${{ github.ref }} pkg="$(podman run \ -e DEBEMAIL='${{ env.INPUT_DEBEMAIL }}' \ -e DEBFULLNAME='${{ env.INPUT_DEBFULLNAME }}' \ diff --git a/container/bin/build_source b/container/bin/build_source index e41bdf9..85f120b 100755 --- a/container/bin/build_source +++ b/container/bin/build_source @@ -51,6 +51,8 @@ main() ( echo "$DEB_BUILD_OPTIONS" > .build_options ln -s "${pkg}_${version}.dsc" .source + echo $PATH + if [ -d "/output" ]; then { echo .build_options; echo .source; echo "${pkg}_${version}.dsc"; get_files < "${pkg}_${version}.dsc"; } | while read file; do sudo cp -d "$file" "/output/$file" diff --git a/misc/sudo b/container/bin/sudo similarity index 100% rename from misc/sudo rename to container/bin/sudo