Skip to content

Commit

Permalink
Fix missing step in build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaMisty committed Nov 11, 2023
1 parent 001c26e commit 4adb37d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
# - 'v*'

#branches: [ master ]
release:
types: [published]

jobs:
build:
Expand All @@ -32,12 +34,18 @@ jobs:
- name: Prepare Theos
uses: Randomblock1/theos-action@v1

- name: Get tag
if: ${{ startsWith(github.ref, 'refs/tags/') }}
id: tag
uses: dawidd6/action-get-tag@v1
- name: Build Release package - Rootful Substrate
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
make clean
TAGNAME=${{ steps.tag.outputs.tag }}
make package FINALPACKAGE=1 PACKAGE_VERSION=${TAGNAME#v}+rootful
- name: Build Release package - Rootless Substrate
if: ${{ startsWith(github.ref, 'refs/tags/') }}
run: |
make clean
TAGNAME=${{ steps.tag.outputs.tag }}
Expand Down

0 comments on commit 4adb37d

Please sign in to comment.