mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-07 00:04:36 -04:00
Fixes for releases
This commit is contained in:
parent
6541aa8529
commit
99e40b319d
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -19,11 +19,16 @@ jobs:
|
||||
uses: actions/checkout@v1
|
||||
with:
|
||||
ref: v5-develop
|
||||
path: 'ninja'
|
||||
|
||||
- name: Copy .env file
|
||||
run: |
|
||||
cp .env.example .env
|
||||
|
||||
- name: ChDir
|
||||
run: |
|
||||
cd ninja
|
||||
|
||||
- name: Install composer dependencies
|
||||
run: |
|
||||
composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
|
||||
@ -65,7 +70,8 @@ jobs:
|
||||
|
||||
- name: Build project
|
||||
run: |
|
||||
tar --exclude='../*' --exclude='.htaccess' -zcvf ./invoiceninja.tar .*
|
||||
cd ..
|
||||
tar --exclude='../*' --exclude='.htaccess' -zcvf -C ninja invoiceninja.tar ninja/
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
|
Loading…
x
Reference in New Issue
Block a user