@@ -95,20 +95,22 @@ jobs:
9595 echo "ERROR: ORAS checksum verification failed!"
9696 exit 1
9797 }
98- tar xzf "oras_${ORAS_VERSION}_linux_amd64.tar.gz" -C /usr/local/bin/ oras
98+ mkdir -p "$GITHUB_WORKSPACE/.bin"
99+ tar xzf "oras_${ORAS_VERSION}_linux_amd64.tar.gz" -C "$GITHUB_WORKSPACE/.bin/" oras
100+ echo "$GITHUB_WORKSPACE/.bin" >> $GITHUB_PATH
99101 rm -f "oras_${ORAS_VERSION}_linux_amd64.tar.gz"
100- oras version
102+ "$GITHUB_WORKSPACE/.bin/ oras" version
101103
102104 - name : Login to ghcr.io
103- if : steps.check_artifact.outcome != 'success'
105+ if : steps.check_artifact.outcome != 'success' && github.repository == 'wolfSSL/wolfProvider'
104106 run : |
105107 echo "${{ secrets.GITHUB_TOKEN }}" | oras login \
106108 --username ${{ github.repository_owner }} \
107109 --password-stdin ghcr.io
108110
109111 # ── Debian build: pull .deb packages from ghcr.io ──
110112 - name : Download pre-built packages from ghcr.io
111- if : steps.check_artifact.outcome != 'success' && inputs.build_type == 'debian'
113+ if : steps.check_artifact.outcome != 'success' && github.repository == 'wolfSSL/wolfProvider' && inputs.build_type == 'debian'
112114 run : |
113115 mkdir -p ${{ env.WOLFSSL_PACKAGES_PATH }}
114116 mkdir -p ${{ env.OPENSSL_PACKAGES_PATH }}
@@ -166,7 +168,7 @@ jobs:
166168 apt-get install -y xz-utils
167169
168170 - name : Download WIC images from ghcr.io
169- if : steps.check_artifact.outcome != 'success' && inputs.build_type == 'yocto'
171+ if : steps.check_artifact.outcome != 'success' && github.repository == 'wolfSSL/wolfProvider' && inputs.build_type == 'yocto'
170172 run : |
171173 mkdir -p ${{ env.YOCTO_IMAGES_PATH }}
172174
0 commit comments