release action smaller if

This commit is contained in:
sevenautumns
2023-02-25 13:36:53 +01:00
parent 9b3f4670af
commit 12933de42b
+2 -2
View File
@@ -5,7 +5,7 @@ on:
pull_request:
push:
branches: [main]
tags: ['v*']
tags: ["v*"]
jobs:
build:
@@ -59,7 +59,7 @@ jobs:
path: ${{ matrix.derivation }}-${{ matrix.nix-system }}
- name: Release
uses: softprops/action-gh-release@v1
if: github.ref_type == 'tag' && startsWith(github.ref_name, 'v') && contains(matrix.derivation, 'static')
if: startsWith(github.ref, 'refs/tags/v') && contains(matrix.derivation, 'static')
with:
files: |
${{ matrix.derivation }}-${{ matrix.nix-system }}