fix: Use checkout and --frappe-path
This commit is contained in:
parent
e326825fde
commit
cdecb5cd7b
1 changed files with 6 additions and 4 deletions
10
.github/workflows/publish-assets.yml
vendored
10
.github/workflows/publish-assets.yml
vendored
|
|
@ -10,19 +10,21 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
path: 'frappe'
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
python-version: '12.x'
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.6'
|
||||
- name: Set up bench
|
||||
- name: Set up bench for current push
|
||||
run: |
|
||||
npm install -g yarn
|
||||
pip3 install -U frappe-bench
|
||||
bench init frappe-bench --no-procfile --no-backups --skip-assets --skip-redis-config-generation --python $(which python)
|
||||
cd frappe-bench/apps/frappe && git checkout $GITHUB_SHA
|
||||
bench build
|
||||
bench init frappe-bench --no-procfile --no-backups --skip-assets --skip-redis-config-generation --python $(which python) --frappe-path $GITHUB_WORKSPACE/frappe
|
||||
cd frappe-bench && bench build
|
||||
|
||||
- name: Package assets
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue