Skip to content

Commit

Permalink
[CI] Only make dist on one build.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveDavenport committed Jan 7, 2025
1 parent ff56b4b commit 53fd39b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/actions/autotools/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: Autotools Build
description: Builds Rofi using Autotools

inputs:
do-release:
description: Do a make dist and upload
required: true
cc:
description: Compiler to use
required: true
Expand Down Expand Up @@ -45,9 +48,10 @@ runs:
make
make check
- id: upload
if: ${{ inputs.dorelease }}
uses: actions/upload-artifact@v4
with:
name: tarballs ${{ matrix.machine }}-${{ matrix.cloud }}-${{ matrix.region }}-${{ matrix.arch }}-${{ matrix.distro }}-${{ matrix.stage }}-${{ matrix.theater }}
name: tarballs ${{ github.sha }}
path: |
builddir/*.tar.gz
builddir/*.tar.xz
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
with:
cc: gcc
windowmode: enable
do-release: true
build-autotools-gcc-no-window:
runs-on: ubuntu-latest
steps:
Expand All @@ -57,6 +58,7 @@ jobs:
with:
cc: gcc
windowmode: disable
do-release: false
build-autotools-clang:
runs-on: ubuntu-latest
steps:
Expand All @@ -68,3 +70,4 @@ jobs:
with:
cc: clang
windowmode: enable
do-release: false

0 comments on commit 53fd39b

Please sign in to comment.