diff --git a/action.yml b/action.yml index f60facc..d81a2e3 100644 --- a/action.yml +++ b/action.yml @@ -197,19 +197,19 @@ runs: working-directory: ${{ inputs.app-working-directory }} shell: bash run: | - ditto -c -k ./build/bin/${{inputs.build-name}}.app ./build/bin/${{inputs.build-name}}.app.zip + ditto -c -k ${{ inputs.app-working-directory }}/build/bin/${{inputs.build-name}}.app ${{ inputs.app-working-directory }}/build/bin/${{inputs.build-name}}.app.zip - name: Building Installer if: runner.os == 'macOS' && inputs.sign != 'false' && inputs.sign-macos-installer-id != '' && startsWith(github.ref, 'refs/tags/') shell: bash working-directory: ${{ inputs.app-working-directory }} run: | - productbuild --sign '${{inputs.sign-macos-installer-id}}' --component ./build/bin/${{inputs.build-name}}.app ./build/bin/${{inputs.build-name}}.pkg + productbuild --sign '${{inputs.sign-macos-installer-id}}' --component ${{ inputs.app-working-directory }}/build/bin/${{inputs.build-name}}.app ${{ inputs.app-working-directory }}/build/bin/${{inputs.build-name}}.pkg - name: Building Installer if: runner.os == 'macOS' && inputs.sign-macos-installer-id == '' && startsWith(github.ref, 'refs/tags/') shell: bash working-directory: ${{ inputs.app-working-directory }} run: | - productbuild --component ./build/bin/${{inputs.build-name}}.app ./build/bin/${{inputs.build-name}}.pkg + productbuild --component ${{ inputs.app-working-directory }}/build/bin/${{inputs.build-name}}.app ${{ inputs.app-working-directory }}/build/bin/${{inputs.build-name}}.pkg - name: Notarising Installer and zip if: runner.os == 'macOS' && inputs.sign != 'false' && startsWith(github.ref, 'refs/tags/') shell: bash @@ -217,7 +217,7 @@ runs: env: APPLE_PASSWORD: ${{ inputs.sign-macos-apple-password }} run: | - gon -log-level=info ./build/darwin/gon-notarize.json + gon -log-level=info ${{ inputs.app-working-directory }}/build/darwin/gon-notarize.json # Windows signing - name: Sign Windows binaries shell: powershell