Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
  • Loading branch information
ck-c8y committed Nov 29, 2023
1 parent c294bc8 commit e1d5eaa
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,11 @@ jobs:
id: save-version
run: echo "version=$(cat package.json | jq '.version' | xargs)" >> $GITHUB_OUTPUT

- name: Run the scripts
- name: Build backend
run: |
./build.sh analytics-ext-service ${{ steps.save-version.outputs.version }}
working-directory: ./analytics-service


release:
name: Release
runs-on: ubuntu-latest
Expand Down Expand Up @@ -127,7 +126,7 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v2

- name: Run the scripts
- name: Build backend
run: |
./build.sh analytics-ext-service ${{ steps.save-version.outputs.version }}
working-directory: ./analytics-service
Expand Down Expand Up @@ -174,6 +173,15 @@ jobs:
files: analytics-ui/sag-ps-pkg-analytics-extension-${{ needs.release.outputs.version }}.zip
tag_name: v${{ needs.release.outputs.version }}

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2

- name: Build backend
run: |
./build.sh analytics-ext-service ${{ needs.release.outputs.version}}
working-directory: ./analytics-service

- name: Release Backend
uses: softprops/action-gh-release@v1
with:
Expand Down

0 comments on commit e1d5eaa

Please sign in to comment.