Skip to content

Commit

Permalink
fix: change to correct target directory path (#176)
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>

Signed-off-by: Brandon H. Gomes <bhgomes@pm.me>
  • Loading branch information
bhgomes authored Sep 27, 2022
1 parent 8fef493 commit f2bbace
Show file tree
Hide file tree
Showing 5 changed files with 959 additions and 427 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
env:
cache-name: cache-target
with:
path: ui/src-tauri/target
key: ${{ matrix.os }}-build-${{ env.cache-name }}-${{ hashFiles('./ui/src-tauri/Cargo.lock') }}
path: target
key: ${{ matrix.os }}-build-${{ env.cache-name }}-${{ hashFiles('./Cargo.lock') }}
restore-keys: |
${{ matrix.os }}-build-${{ env.cache-name }}-
${{ matrix.os }}-build-
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ui/src-tauri/target/release/bundle/deb/manta-signer_${{ steps.suffixed.outputs.SUFFIXED }}_amd64.deb
asset_path: target/release/bundle/deb/manta-signer_${{ steps.suffixed.outputs.SUFFIXED }}_amd64.deb
asset_name: manta-signer-${{ matrix.os }}_${{ needs.setup.outputs.release_version }}_amd64.deb
asset_content_type: application/binary
if: matrix.os_type == 'ubuntu' && github.event_name == 'release' && github.event.action == 'published'
Expand All @@ -133,23 +133,23 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: "ui/src-tauri/target/release/bundle/${{ steps.release_vars.outputs.IMAGE }}"
asset_path: "target/release/bundle/${{ steps.release_vars.outputs.IMAGE }}"
asset_name: "${{ steps.release_vars.outputs.RELEASE_IMAGE }}"
asset_content_type: application/binary
if: github.event_name == 'release' && github.event.action == 'published'
- name: Content Hash
id: content_hash
run: echo "::set-output name=HASH::${{ hashFiles( env.FILE ) }}"
env:
FILE: 'ui/src-tauri/target/release/bundle/${{ steps.release_vars.outputs.IMAGE }}'
FILE: 'target/release/bundle/${{ steps.release_vars.outputs.IMAGE }}'
- name: Upload Updater package
id: updater
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: "ui/src-tauri/target/release/bundle/${{ steps.release_vars.outputs.IMAGE_UPDATE }}"
asset_path: "target/release/bundle/${{ steps.release_vars.outputs.IMAGE_UPDATE }}"
asset_name: "${{ steps.release_vars.outputs.RELEASE_IMAGE_UPDATE }}"
asset_content_type: application/binary
if: github.event_name == 'release' && github.event.action == 'published'
Expand All @@ -160,7 +160,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: "ui/src-tauri/target/release/bundle/${{ steps.release_vars.outputs.UPDATE_SIG }}"
asset_path: "target/release/bundle/${{ steps.release_vars.outputs.UPDATE_SIG }}"
asset_name: "${{ steps.release_vars.outputs.RELEASE_UPDATE_SIG }}"
asset_content_type: application/binary
if: github.event_name == 'release' && github.event.action == 'published'
Expand Down
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/target
Cargo.lock
.DS_Store
WixTools
WixTools
Loading

1 comment on commit f2bbace

@vercel
Copy link

@vercel vercel bot commented on f2bbace Sep 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.