Skip to content

build: Use upload-artifacts v4#896

Merged
jjbayer merged 2 commits into
masterfrom
build/upload-artifacts-4
Feb 4, 2025
Merged

build: Use upload-artifacts v4#896
jjbayer merged 2 commits into
masterfrom
build/upload-artifacts-4

Conversation

@jjbayer

@jjbayer jjbayer commented Feb 4, 2025

Copy link
Copy Markdown
Member

upload-artifacts v3 is now deprecated and refuses to run.

Cargo-culted this PR off getsentry/ophio#69, I don't know if it will actually work.

#skip-changelog

- uses: actions/upload-artifact@v4
with:
name: ${{ github.sha }}
name: artifact-linux-${{ matrix.build-arch }}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Not sure if the name matters here. matrix.target seems to be unavailable so I used matrix.build-arch instead.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm not sure either

@jjbayer jjbayer marked this pull request as ready for review February 4, 2025 15:41

@szokeasaurusrex szokeasaurusrex left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks reasonable, although you should test this to make sure it works

@loewenheim loewenheim left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks reasonable to me

@jjbayer jjbayer merged commit a25651f into master Feb 4, 2025
@jjbayer jjbayer deleted the build/upload-artifacts-4 branch February 4, 2025 16:44
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.

3 participants