Skip to content

Commit 1b4ebad

Browse files
committed
just ditch cross here too
1 parent 0021936 commit 1b4ebad

1 file changed

Lines changed: 1 addition & 35 deletions

File tree

.github/workflows/release-artifacts.yml

Lines changed: 1 addition & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -112,31 +112,8 @@ jobs:
112112
TAGS: '${{ steps.meta.outputs.tags }}'
113113
DIGEST: '${{ steps.push.outputs.digest }}'
114114

115-
build-cross:
116-
# if: ${{ github.repository_owner == 'edera-dev' && (github.event_name == 'release' || github.event.pull_request.head.repo.full_name == github.repository) }}
117-
name: Build cross-rs binaries
118-
runs-on: ubuntu-latest
119-
outputs:
120-
cross-revision: ${{ steps.build-cross.outputs.revision }}
121-
steps:
122-
- name: Harden runner
123-
uses: step-security/harden-runner@5ef0c079ce82195b2a36a210272d6b661572d83e # v2.14.2
124-
with:
125-
egress-policy: audit
126-
127-
- name: Checkout repository
128-
uses: actions/checkout@6b42224f41ee5dfe5395e27c8b2746f1f9955030 # v4.2.0
129-
with:
130-
submodules: recursive
131-
persist-credentials: false
132-
133-
- name: Build cross-rs
134-
id: build-cross
135-
uses: ./.github/actions/build-cross-rs
136-
137115
upload-artifact:
138116
# if: ${{ github.repository_owner == 'edera-dev' && (github.event_name == 'release' || github.event.pull_request.head.repo.full_name == github.repository) }}
139-
needs: [build-cross]
140117
name: Publish Binaries to Release
141118
permissions:
142119
contents: write
@@ -145,7 +122,7 @@ jobs:
145122
matrix:
146123
platform:
147124
- { os: linux, arch: x86_64, libc: musl, static: true, on: ubuntu-latest }
148-
- { os: linux, arch: aarch64, libc: musl, static: true, on: ubuntu-latest }
125+
- { os: linux, arch: aarch64, libc: musl, static: true, on: ubuntu-24.04-arm }
149126
binary:
150127
- edera-check
151128
runs-on: '${{ matrix.platform.on }}'
@@ -161,17 +138,6 @@ jobs:
161138
fetch-depth: 0
162139
persist-credentials: false
163140

164-
- name: Restore cross-rs binaries
165-
uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v5.0.3
166-
with:
167-
path: |
168-
~/.cargo/bin/cross
169-
~/.cargo/bin/cross-util
170-
key: ${{ runner.os }}-${{ runner.arch }}-cross-rs-${{ needs.build-cross.outputs.cross-revision }}
171-
172-
- name: Set up QEMU
173-
uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0
174-
175141
- name: 'Build and assemble ${{ matrix.binary }} ${{ matrix.platform.os }}-${{ matrix.platform.arch }}-${{ matrix.platform.libc }}'
176142
run: |
177143
set -e

0 commit comments

Comments
 (0)