Browse Source

fix build_osx job

add-joinmarket
zebra-lucky 1 year ago
parent
commit
5b1c23a7f6
  1. 9
      .github/workflows/build.yml

9
.github/workflows/build.yml

@ -65,11 +65,6 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v1 uses: actions/checkout@v1
- name: Set outputs for pkg_ver
id: set_vars
run: |
export ELECTRUM_VERSION=`./contrib/print_electrum_version.py`
echo "::set-output name=pkg_ver::$(echo $ELECTRUM_VERSION)"
- name: Build dmg - name: Build dmg
run: | run: |
./contrib/osx/make_osx.sh ./contrib/osx/make_osx.sh
@ -79,8 +74,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
upload_url: ${{ needs.create_release.outputs.upload_url }} upload_url: ${{ needs.create_release.outputs.upload_url }}
asset_path: dist/electrum-${{ steps.set_vars.outputs.pkg_ver }}.dmg asset_path: dist/electrum-${{ github.ref_name }}-unsigned.dmg
asset_name: electrum-${{ steps.set_vars.outputs.pkg_ver }}.dmg asset_name: electrum-${{ github.ref_name }}-unsigned.dmg
asset_content_type: application/apple-diskimage asset_content_type: application/apple-diskimage
build_appimage: build_appimage:

Loading…
Cancel
Save