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

ci: release assets for darwin/amd64 #2326

Merged
merged 1 commit into from
Feb 23, 2024
Merged

ci: release assets for darwin/amd64 #2326

merged 1 commit into from
Feb 23, 2024

Conversation

suzuki-shunsuke
Copy link
Contributor

@suzuki-shunsuke suzuki-shunsuke commented Feb 22, 2024

Close #2327

The pull request #2323 changed the runner from macos-latest to macos-14.
macos-13 and macos-latest are darwin/amd64 but macos-14 is darwin/arm64.
So at v0.6.7 https://github.com/pen-lang/pen/releases/tag/v0.6.7 the asset for darwin/arm64 was released instead of darwin/amd64.
To release assets for darwin/amd64, this pull request adds macos-13 to the build matrix.

The pull request #2323 changed the runner from macos-latest to macos-14.
macos-13 and macos-latest are darwin/amd64 but macos-14 is darwin/arm64.
So at v0.6.7 https://github.com/pen-lang/pen/releases/tag/v0.6.7 the asset for darwin/arm64 was released instead of darwin/amd64.
To release assets for darwin/amd64, this commit adds macos-13 to the build matrix.
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.88%. Comparing base (91c900b) to head (6f2f72a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2326   +/-   ##
=======================================
  Coverage   87.88%   87.88%           
=======================================
  Files         455      455           
  Lines       55042    55042           
=======================================
  Hits        48375    48375           
  Misses       6667     6667           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@raviqqe
Copy link
Contributor

raviqqe commented Feb 23, 2024

Thank you for the change!

@raviqqe raviqqe enabled auto-merge (squash) February 23, 2024 02:36
@suzuki-shunsuke
Copy link
Contributor Author

The build failed because the pull request from fork repositories doesn't have the write permission.

https://github.com/pen-lang/pen/actions/runs/8011829220/job/21891574723?pr=2326#step:5:3110

ERROR: denied: installation not allowed to Write organization package
Error: buildx failed with: ERROR: denied: installation not allowed to Write organization package

@raviqqe raviqqe merged commit f9311ab into pen-lang:main Feb 23, 2024
29 of 31 checks passed
@suzuki-shunsuke suzuki-shunsuke deleted the release-asset-darwin-amd64 branch February 23, 2024 02:53
raviqqe pushed a commit that referenced this pull request Feb 23, 2024
…positories (#2328)

#2326 (comment)

The push of docker images failed because GitHub Actions tokens don't
have the write permission if pull requests are sent from fork
repositories.

So this pull request skip pushing docker images if pull requests are
sent from fork repositories.

## Test

The job passed.


https://github.com/pen-lang/pen/actions/runs/8014083453/job/21892121705?pr=2328#step:5:4

```
push: false
```
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.

The release for darwin/amd64 was missing at v0.6.7
2 participants