Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Update script
Browse files Browse the repository at this point in the history
  • Loading branch information
tutn-axonivy committed Feb 28, 2024
1 parent 226533a commit 80a15d6
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
branches:
- MARP-59-Migrate-the-Marketplace-from-Ivyteam-Jenkins-to-Github

env:
DIST_FILE: ivy-website-market.tar

jobs:
build:
runs-on: ["marketplace.axonivy.com"]
Expand All @@ -24,14 +27,14 @@ jobs:
shell: sh
run: |
composer install --no-dev --no-progress
tar -cf ivy-website-market.tar --exclude=src/web/_market --exclude=src/web/market-cache src vendor
tar -cf ${{ env.DIST_FILE }} --exclude=src/web/_market --exclude=src/web/market-cache src vendor
- name: Archive build artifact
uses: actions/upload-artifact@v3
with:
name: ivy-website-market.tar
name: ${{ env.DIST_FILE }}
path: |
ivy-website-market.tar
${{ env.DIST_FILE }}
- name: Run test
shell: sh
Expand All @@ -45,13 +48,13 @@ jobs:
with:
report_paths: "**/phpunit-junit.xml"


check-editorconfig:
needs: build
runs-on: ["marketplace.axonivy.com"]
steps:
steps:
- name: Editor checker
uses: editorconfig-checker/action-editorconfig-checker@main
- run: editor-chekcer

deploy:
needs: check-editorconfig
Expand All @@ -63,7 +66,3 @@ jobs:
run: |
composer update
./dev.sh

0 comments on commit 80a15d6

Please sign in to comment.