Skip to content

Commit

Permalink
temp disable electron release
Browse files Browse the repository at this point in the history
  • Loading branch information
aarron-lee committed Jan 8, 2024
1 parent 6cba730 commit 3c88e1c
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions .github/workflows/electron-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,36 +36,36 @@ jobs:

- name: show files
run: |
ls dist/hhd-ui.AppImage
ls ./electron/dist/hhd-ui.AppImage
- name: Publish Artifacts
uses: actions/upload-artifact@v3
with:
name: hhd-ui-electron
path: dist/hhd-ui.AppImage
path: ./electron/dist/hhd-ui.AppImage

publish:
if: startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
needs: build_plugin
steps:
- run: mkdir /tmp/artifacts
# publish:
# if: startsWith(github.ref, 'refs/tags/v')
# runs-on: ubuntu-latest
# needs: build_plugin
# steps:
# - run: mkdir /tmp/artifacts

- name: download artifact
uses: actions/download-artifact@v3
with:
path: /tmp/artifacts
# - name: download artifact
# uses: actions/download-artifact@v3
# with:
# path: /tmp/artifacts

- run: ls -R /tmp/artifacts
# - run: ls -R /tmp/artifacts

- name: publish to github release
uses: softprops/action-gh-release@v1
with:
files: /tmp/artifacts/hhd-ui/hhd-ui.AppImage
tag_name: ${{ github.ref_name }}
body: |
hhd-ui
draft: true
prerelease: contains(github.ref, 'pre')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: publish to github release
# uses: softprops/action-gh-release@v1
# with:
# files: /tmp/artifacts/hhd-ui/hhd-ui.AppImage
# tag_name: ${{ github.ref_name }}
# body: |
# hhd-ui
# draft: true
# prerelease: contains(github.ref, 'pre')
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 3c88e1c

Please sign in to comment.