Skip to content

Commit

Permalink
gha: Do not use oras-project/setup-oras for s390x
Browse files Browse the repository at this point in the history
`oras-project/setup-oras` does not support s390x like:

```
Error: Error: unsupported architecture: s390x
```

But the package is already installed and maintained on the
self-hosted runner admin.
Let's skip installing it for the platform.

Signed-off-by: Hyounggyu Choi <Hyounggyu.Choi@ibm.com>
  • Loading branch information
BbolroC committed Oct 8, 2024
1 parent 039bfdc commit c5d7b3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
- uses: oras-project/setup-oras@v1
with:
version: 1.2.0
if: matrix.platform.arch != 's390x'

- uses: actions/checkout@v4

Expand Down

0 comments on commit c5d7b3e

Please sign in to comment.