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

Add ci #40

Merged
merged 3 commits into from
Jun 18, 2023
Merged

Add ci #40

merged 3 commits into from
Jun 18, 2023

Conversation

Itsusinn
Copy link
Contributor

No description provided.

@Itsusinn
Copy link
Contributor Author

此PR提供了三个Workflow, 包括 pre-release, release, tauri.
pre-release在每次push时被触发, release在形如v1.x.y形式的tag被push时触发,两者的区别是前者创建预发布版本.这两个workflow会自动生成changelog并上传开源证书.
这两个workflow都会触发tauri, tauri负责编译格平台的二进制, 并将文件上传到已创建的release中.

由于正常情况下workflow无法触发另一个workflow, 只有用户操作才能触发Workflow.
因此需要创建一个personal access token 需要勾选repo - Full control of private repositories
并将其添加到仓库的action环境密钥中. 键为RELEASE_TOKEN,值为上文得到的personal access token.

@Itsusinn Itsusinn marked this pull request as ready for review June 18, 2023 06:47
Copy link
Owner

@mcthesw mcthesw left a comment

Choose a reason for hiding this comment

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

Nice

@mcthesw mcthesw merged commit d8f489b into mcthesw:v1-tauri Jun 18, 2023
1 check passed
@Itsusinn Itsusinn deleted the add-ci branch June 18, 2023 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants