File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -143,8 +143,11 @@ jobs:
143143 security import apple_certificate.p12 -k build.keychain -P "${{ secrets.APPLE_CERTIFICATE_PASSWORD }}" -T /usr/bin/codesign
144144 security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "${{ secrets.APPLE_KEYCHAIN_PASSWORD }}" build.keychain
145145 /usr/bin/codesign --force -s "Developer ID Application: Blink Labs Software (${{ secrets.APPLE_TEAM_ID }})" --timestamp --options runtime -i com.blinklabssoftware.bursa bursa -v
146+ _filename=bursa-${{ env.RELEASE_TAG }}-${{ matrix.os }}-${{ matrix.arch }}.zip
147+ zip -r ${_filename} bursa
146148 xcrun notarytool store-credentials "notarytool-profile" --apple-id "${{ secrets.APPLE_ID }}" --team-id "${{ secrets.APPLE_TEAM_ID }}" --password "${{ secrets.APPLE_APP_SPECIFIC_PASSWORD }}"
147- xcrun notarytool submit bursa --keychain-profile "notarytool-profile" --wait
149+ xcrun notarytool submit ${_filename} --keychain-profile "notarytool-profile" --wait
150+
148151 - name : Upload release asset
149152 if : startsWith(github.ref, 'refs/tags/')
150153 run : |
@@ -157,7 +160,9 @@ jobs:
157160 fi
158161 if [[ "${{ matrix.os }}" == "darwin" ]]; then
159162 _filename=bursa-${{ env.RELEASE_TAG }}-${{ matrix.os }}-${{ matrix.arch }}.zip
160- zip -r ${_filename} bursa
163+ if [[ ! -e ${_filename} ]]; then
164+ zip -r ${_filename} bursa
165+ fi
161166 fi
162167 curl \
163168 -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
You can’t perform that action at this time.
0 commit comments