This commit is contained in:
@@ -7,9 +7,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Echo
|
|
||||||
run: echo "Ref ${{ gitea.SHA::5 }}"
|
|
||||||
|
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v5
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
@@ -33,8 +30,14 @@ jobs:
|
|||||||
- name: Compile assets
|
- name: Compile assets
|
||||||
run: APP_ENV=build php bin/console asset-map:compile
|
run: APP_ENV=build php bin/console asset-map:compile
|
||||||
|
|
||||||
|
- name: Create artifact
|
||||||
|
run: |
|
||||||
|
file="${{ gitea.REF_NAME }}.tar.gz"
|
||||||
|
touch $file
|
||||||
|
tar -czf $file --exclude=$file .
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: artifact
|
name: "${{ gitea.REF_NAME }}"
|
||||||
path: ./
|
path: "${{ gitea.REF_NAME }}.tar.gz"
|
||||||
|
|||||||
Reference in New Issue
Block a user