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..a22d2ca 100755 --- a/container/bin/build_source +++ b/container/bin/build_source @@ -53,7 +53,7 @@ main() ( 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" + cp -d "$file" "/output/$file" done fi