Skip to content

Commit

Permalink
chore: fix upload prefix from input use
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilb committed Sep 24, 2024
1 parent 1c3b1cb commit 98eb989
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
if: github.event_name != 'push' || github.ref != 'master'
uses: ./actions/upload_prod_artefacts
with:
UPLOAD_PREFIX: ${{ runner.os }}-${{ runner.arch }}-others
upload_prefix: ${{ runner.os }}-${{ runner.arch }}-others

- name: Build & publish (all but appImage)
# we want this to run only when on "push" to "master"
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
if: github.event_name != 'push' || github.ref != 'master'
uses: ./actions/upload_prod_artefacts
with:
UPLOAD_PREFIX: ${{ runner.os }}-${{ runner.arch }}-appImage
upload_prefix: ${{ runner.os }}-${{ runner.arch }}-appImage

- name: Build & publish (only appImage)
# we want this to run only when on "push" to "master"
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
if: github.event_name != 'push' || github.ref != 'master'
uses: ./actions/upload_prod_artefacts
with:
UPLOAD_PREFIX: ${{ runner.os }}-${{ runner.arch }}
upload_prefix: ${{ runner.os }}-${{ runner.arch }}

- name: Build & publish
# we want this to run only when on "push" to "master"
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
if: github.event_name != 'push' || github.ref != 'master'
uses: ./actions/upload_prod_artefacts
with:
UPLOAD_PREFIX: ${{ runner.os }}-${{ runner.arch }}
upload_prefix: ${{ runner.os }}-${{ runner.arch }}

- name: Build & publish
# we want this to run only when on "push" to "master"
Expand Down
4 changes: 2 additions & 2 deletions actions/upload_prod_artefacts/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: 'Upload production artefact (not publish)'
description: 'Upload production artefact (not publish)'
inputs:
UPLOAD_PREFIX:
upload_prefix:
description: 'upload name prefix'
required: true

Expand All @@ -23,5 +23,5 @@ runs:
- name: Upload Production Artifacts
uses: actions/upload-artifact@v4
with:
name: ${{ UPLOAD_PREFIX }}-production
name: ${{ inputs.upload_prefix }}-production
path: release

0 comments on commit 98eb989

Please sign in to comment.