Skip to content

Commit 3fb2d29

Browse files
committed
Remove artifact upload for linux web since we cannot get them for both amd and arm at the same time
1 parent d101f62 commit 3fb2d29

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
types: [ opened, reopened, synchronize ]
99
workflow_call:
1010
inputs:
11+
platforms:
12+
description: 'Platforms to build for'
13+
required: false
14+
type: string
1115
latest:
1216
description: 'Tag image as latest'
1317
required: false
@@ -137,19 +141,11 @@ jobs:
137141
push: ${{ inputs.latest || inputs.rc || (github.ref_protected && github.event_name != 'pull_request') }}
138142
tags: ${{ steps.meta.outputs.tags }}
139143
labels: ${{ steps.meta.outputs.labels }}
140-
platforms: 'linux/amd64,linux/arm64'
144+
platforms: ${{ inputs.platforms || 'linux/amd64' }}
141145
cache-from: |
142146
type=gha
143147
cache-to: |
144148
type=gha
145-
146-
- name: Upload OpenShock Desktop Web Linux artifacts
147-
uses: actions/upload-artifact@v4
148-
with:
149-
name: OpenShock Desktop Web Linux
150-
path: publish/Web-Linux/*
151-
retention-days: 7
152-
if-no-files-found: error
153149
154150
build-linux-photino:
155151
runs-on: ubuntu-latest

.github/workflows/ci-tag.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,6 @@ jobs:
4848
needs: [get-latest-tag, get-latest-rc-tag]
4949
uses: ./.github/workflows/ci-build.yml
5050
with:
51+
platforms: linux/amd64,linux/arm64
5152
latest: ${{ needs.get-latest-tag.outputs.latest-tag == github.ref_name }}
5253
rc: ${{ needs.get-latest-rc-tag.outputs.latest-rc == github.ref_name }}

0 commit comments

Comments
 (0)