diff --git a/.github/workflows/bin-no-publish.yaml b/.github/workflows/bin-no-publish.yaml index 1ef13b1da..1d10f56f9 100644 --- a/.github/workflows/bin-no-publish.yaml +++ b/.github/workflows/bin-no-publish.yaml @@ -20,12 +20,12 @@ jobs: - name: Setup basesystem run: | cd bins - sudo ./bins-extra.sh --package basesystem + sudo -E ./bins-extra.sh --package basesystem - name: Build package (${{ inputs.package }}) id: package run: | cd bins - sudo ./bins-extra.sh --package ${{ inputs.package }} + sudo -E ./bins-extra.sh --package ${{ inputs.package }} - name: Publish flist (tf-autobuilder, ${{ steps.package.outputs.name }}) if: success() uses: threefoldtech/publish-flist@master diff --git a/.github/workflows/bin-package-18.04.yaml b/.github/workflows/bin-package-18.04.yaml index ecd01df4d..250369e99 100644 --- a/.github/workflows/bin-package-18.04.yaml +++ b/.github/workflows/bin-package-18.04.yaml @@ -41,12 +41,12 @@ jobs: - name: Setup basesystem run: | cd bins - ./bins-extra.sh --package basesystem + sudo -E ./bins-extra.sh --package basesystem - name: Build package (${{ inputs.package }}) id: package run: | cd bins - ./bins-extra.sh --package ${{ inputs.package }} + sudo -E ./bins-extra.sh --package ${{ inputs.package }} - name: Publish flist (tf-autobuilder, ${{ steps.package.outputs.name }}) if: success() uses: threefoldtech/publish-flist@master diff --git a/.github/workflows/bin-package.yaml b/.github/workflows/bin-package.yaml index a32fe5a15..41101015d 100644 --- a/.github/workflows/bin-package.yaml +++ b/.github/workflows/bin-package.yaml @@ -40,12 +40,12 @@ jobs: - name: Setup basesystem run: | cd bins - sudo ./bins-extra.sh --package basesystem + sudo -E ./bins-extra.sh --package basesystem - name: Build package (${{ inputs.package }}) id: package run: | cd bins - sudo ./bins-extra.sh --package ${{ inputs.package }} + sudo -E ./bins-extra.sh --package ${{ inputs.package }} - name: Publish flist (tf-autobuilder, ${{ steps.package.outputs.name }}) if: success() uses: threefoldtech/publish-flist@master diff --git a/bins/bins-extra.sh b/bins/bins-extra.sh index ea257c044..6ec137f17 100755 --- a/bins/bins-extra.sh +++ b/bins/bins-extra.sh @@ -269,7 +269,7 @@ exclude_libs() { github_name() { # force github print - echo "name=${1}" >> $env:GITHUB_OUTPUT + echo "name=${1}" >> $GITHUB_OUTPUT echo "[+] github exported name: ${1}" }