Skip to content

Fix: cart total calculation when pricing.stored_inclusive_of_tax is s… #612

Fix: cart total calculation when pricing.stored_inclusive_of_tax is s…

Fix: cart total calculation when pricing.stored_inclusive_of_tax is s… #612

name: Split Packages
on:
push:
branches:
- main
- "0.*"
tags:
- "*"
jobs:
tag_split_packages:
runs-on: ubuntu-latest
strategy:
matrix:
package: ["admin", "core", "licensing"]
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: 8.0
coverage: none
- name: Split ${{ matrix.package }}
uses: "danharrin/[email protected]"
if: "!startsWith(github.ref, 'refs/tags/')"
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
package_directory: "packages/${{ matrix.package }}"
repository_organization: "lunarphp"
repository_name: "${{ matrix.package }}"
user_name: "GitHub Action"
user_email: "[email protected]"
branch: ${GITHUB_REF#refs/heads/}
- name: Set env
if: "startsWith(github.ref, 'refs/tags/')"
run: echo "GITHUB_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Split ${{ matrix.package }}
uses: "danharrin/[email protected]"
if: "startsWith(github.ref, 'refs/tags/')"
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
package_directory: "packages/${{ matrix.package }}"
repository_organization: "lunarphp"
repository_name: "${{ matrix.package }}"
user_name: "GitHub Action"
user_email: "[email protected]"
branch: ${GITHUB_TAG%.*}
- name: Tag ${{ matrix.package }}
if: "startsWith(github.ref, 'refs/tags/')"
uses: "danharrin/[email protected]"
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
tag: ${GITHUB_REF#refs/tags/}
package_directory: "packages/${{ matrix.package }}"
repository_organization: "lunarphp"
repository_name: "${{ matrix.package }}"
user_name: "GitHub Action"
user_email: "[email protected]"
branch: ${GITHUB_TAG%.*}
split_utils:
runs-on: ubuntu-latest
strategy:
matrix:
package: ["livewire-tables", "scout-database-engine"]
steps:
- uses: actions/checkout@v2
- uses: shivammathur/setup-php@v2
with:
php-version: 8.0
coverage: none
- name: Split ${{ matrix.package }}
uses: "danharrin/[email protected]"
if: "!startsWith(github.ref, 'refs/tags/')"
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
package_directory: "utils/${{ matrix.package }}"
repository_organization: "lunarphp"
repository_name: "${{ matrix.package }}"
user_name: "GitHub Action"
user_email: "[email protected]"
branch: ${GITHUB_REF#refs/heads/}
- name: Set env
if: "startsWith(github.ref, 'refs/tags/')"
run: echo "GITHUB_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Split ${{ matrix.package }}
uses: "danharrin/[email protected]"
if: "startsWith(github.ref, 'refs/tags/')"
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
package_directory: "utils/${{ matrix.package }}"
repository_organization: "lunarphp"
repository_name: "${{ matrix.package }}"
user_name: "GitHub Action"
user_email: "[email protected]"
branch: ${GITHUB_TAG%.*}
- name: Tag ${{ matrix.package }}
if: "startsWith(github.ref, 'refs/tags/')"
uses: "danharrin/[email protected]"
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
with:
tag: ${GITHUB_REF#refs/tags/}
package_directory: "utils/${{ matrix.package }}"
repository_organization: "lunarphp"
repository_name: "${{ matrix.package }}"
user_name: "GitHub Action"
user_email: "[email protected]"
branch: ${GITHUB_TAG%.*}