Update build.yml
This commit is contained in:
13
.github/workflows/build.yml
vendored
13
.github/workflows/build.yml
vendored
@@ -149,23 +149,12 @@ jobs:
|
|||||||
- name: ccache stats
|
- name: ccache stats
|
||||||
run: ccache --show-stats
|
run: ccache --show-stats
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------------------------
|
|
||||||
# Package dist folder as ZIP with commit SHA
|
|
||||||
# -------------------------------------------------
|
|
||||||
- name: Package dist
|
|
||||||
# working-directory: horizon-oc
|
|
||||||
run: |
|
|
||||||
ZIP_NAME="horizon-oc-zeus-dist-${SHORT_SHA}.zip"
|
|
||||||
zip -r "$ZIP_NAME" dist
|
|
||||||
echo "ZIP_NAME=$ZIP_NAME" >> $GITHUB_ENV
|
|
||||||
|
|
||||||
# -------------------------------------------------
|
# -------------------------------------------------
|
||||||
# Upload ZIP artifact
|
# Upload ZIP artifact
|
||||||
# -------------------------------------------------
|
# -------------------------------------------------
|
||||||
- name: Upload build artifact
|
- name: Upload build artifact
|
||||||
uses: actions/upload-artifact@v6
|
uses: actions/upload-artifact@v6
|
||||||
with:
|
with:
|
||||||
name: horizon-oc-zeus-dist-${{ env.SHORT_SHA }}
|
name: horizon-oc-zeus-dist
|
||||||
path: dist/
|
path: dist/
|
||||||
compression-level: 3
|
compression-level: 3
|
||||||
|
|||||||
Reference in New Issue
Block a user