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

zipファイルをreleaseにアップロードする #656

Merged
merged 4 commits into from
Jan 23, 2022

Conversation

Hiroshiba
Copy link
Member

内容

今までzip版は、artifactからダウンロードしてからgoogle driveにアップロードしていました。
結構煩雑で時間がかかっていたので、zipファイルが2GB未満になったのもあって、releasesにアップロードすることにしたいです。

関連 Issue

close #636
close #638

その他

zipファイルの容量は大体1.8GBで、github releasesの制限の2GBギリギリです。
electronのアップデートなどでいつかこの制限を越してしまう可能性はあります。
超してしまったら悲しみつつgoogle driveにアップロードする運用に戻すことにして、2GB未満の間はreleasesにアップロードとしたいと思います。

@Hiroshiba Hiroshiba requested review from PickledChair and aoirint and removed request for PickledChair January 22, 2022 16:33
@Hiroshiba
Copy link
Member Author

Copy link
Member

@aoirint aoirint left a comment

Choose a reason for hiding this comment

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

#656 (comment) のCIが落ちています。
upload-distributable-to-releasematrix.artifact_nameの項目が不足しています。
新しく追加した*-zipを追加する必要があります。

おそらく冗長なのでmatrix.osmatrix.artifact_nameを消してしまってもいいかもです(includeだけにする)。

@Hiroshiba
Copy link
Member Author

@aoirint 修正しました!! とりあえずコード量が最小になりそうな方法にしてみました。

それと #638 (comment) にもあるように、linuxはtargzのが良さそうなのでそうするように修正したいと思います!

@Hiroshiba
Copy link
Member Author

Hiroshiba commented Jan 23, 2022

linuxはtargzを作るようにし、actionsを回し始めてみました
https://github.com/VOICEVOX/voicevox/releases/tag/check-b9b46fc7fa43973ea4f565431318aaefc565175d

2022/01/23 18:41 やりなおしました
https://github.com/VOICEVOX/voicevox/releases/tag/check-96c9116f81e27b093baa1955158b914dd611bb10

@aoirint aoirint self-requested a review January 23, 2022 10:38
Copy link
Member

@aoirint aoirint left a comment

Choose a reason for hiding this comment

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

LGTM!
targzの対応もありがとうございます!

Copy link
Member

@PickledChair PickledChair left a comment

Choose a reason for hiding this comment

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

LGTM!

@aoirint aoirint merged commit 2caa341 into main Jan 23, 2022
@Hiroshiba Hiroshiba deleted the zipファイルをreleaseにアップロードする branch January 23, 2022 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants