Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: publish Electron App in GitHub releases #111

Merged
merged 4 commits into from
Jun 1, 2024

Conversation

HashCookie
Copy link
Contributor

@HashCookie HashCookie commented May 27, 2024

Fix: #110

Workflow Name
Build and Release Electron App

Trigger condition
This workflow is triggered when a label conforming to the v*.*. Format is pushed. Specifically, when you push a tag that conforms to the vX.Y.Z format (e.g. v1.0.0, v2.1.3, etc.), this workflow is automatically executed.

git tag v1.0.0
git push origin v1.0.0

Required GitHub Secrets
GH_TOKEN: GitHub token, which requires sufficient permissions to clone repositories, install dependencies, publish releases, and upload artifacts.

  1. Generate a GitHub Token
  • Click on your profile picture, and then select Settings.
  • On the left-hand menu, select Developer settings.
  • Select Personal access tokens.
  • Create a new Token
  • Select the required permissions (all permissions related to the repo are required).

2.Add to the current project.

  • Click on the "New repository secret" button.
  • Enter the name "GH_TOKEN" in the Name field.
  • Paste the GitHub Token you just copied in Value.

7da409b112ce527ec0142a273e478380

@casbin-bot
Copy link
Member

@nodece please review

@casbin-bot casbin-bot requested a review from nodece May 27, 2024 06:25
Copy link

netlify bot commented May 27, 2024

Deploy Preview for casbin-editor ready!

Name Link
🔨 Latest commit 7206cad
🔍 Latest deploy log https://app.netlify.com/sites/casbin-editor/deploys/6656c06ec2d7d70008d5e818
😎 Deploy Preview https://deploy-preview-111--casbin-editor.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@HashCookie HashCookie closed this Jun 1, 2024
@HashCookie HashCookie reopened this Jun 1, 2024
@casbin casbin deleted a comment from HashCookie Jun 1, 2024
@hsluoyz hsluoyz changed the title feat: add GitHub Actions workflow for building and releasing Electron App feat: publish Electron App in GitHub releases Jun 1, 2024
@hsluoyz hsluoyz merged commit bbccf4f into casbin:master Jun 1, 2024
14 checks passed
@hsluoyz
Copy link
Member

hsluoyz commented Jun 1, 2024

🎉 This PR is included in version 1.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@HashCookie HashCookie deleted the electron-build branch July 22, 2024 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add CI to auto build Electron executables (windows, macOs, linux) in GitHub Releases
3 participants