This commit is contained in:
@@ -7,9 +7,6 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Echo
|
||||
run: echo "Ref ${{ gitea.SHA::5 }}"
|
||||
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v5
|
||||
|
||||
@@ -33,8 +30,14 @@ jobs:
|
||||
- name: Compile assets
|
||||
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
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: artifact
|
||||
path: ./
|
||||
name: "${{ gitea.REF_NAME }}"
|
||||
path: "${{ gitea.REF_NAME }}.tar.gz"
|
||||
|
||||
Reference in New Issue
Block a user