this is so ugly
This commit is contained in:
parent
a41c4f90cc
commit
a4cfc99114
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -147,7 +147,10 @@ jobs:
|
|||||||
- name: Package release
|
- name: Package release
|
||||||
# if: github.event_name == 'push' && github.ref == 'refs/heads/action' && startsWith(matrix.os, 'ubuntu-latest')
|
# if: github.event_name == 'push' && github.ref == 'refs/heads/action' && startsWith(matrix.os, 'ubuntu-latest')
|
||||||
working-directory: extension/build/package
|
working-directory: extension/build/package
|
||||||
run: zip -r "${{ env.ZIP_FILENAME }}" .
|
run: |
|
||||||
|
zip -r "${{ env.ZIP_FILENAME }}" .
|
||||||
|
cp "${{ env.ZIP_FILENAME }}" "${{ matrix.os }}_${{ matrix.cc }}_${{ env.ZIP_FILENAME }}"
|
||||||
|
|
||||||
|
|
||||||
- name: Upload release
|
- name: Upload release
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/action' && (startsWith(matrix.os, 'ubuntu-latest') || startsWith(matrix.os, 'windows-latest'))
|
if: github.event_name == 'push' && github.ref == 'refs/heads/action' && (startsWith(matrix.os, 'ubuntu-latest') || startsWith(matrix.os, 'windows-latest'))
|
||||||
@ -168,9 +171,10 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v4.3.2
|
uses: actions/upload-artifact@v4.3.2
|
||||||
with:
|
with:
|
||||||
# Artifact name
|
# Artifact name
|
||||||
# name: # optional, default is artifact
|
name: ${{ matrix.os }} - ${{ matrix.cc }}
|
||||||
|
# optional, default is artifact
|
||||||
# A file, directory or wildcard pattern that describes what to upload
|
# A file, directory or wildcard pattern that describes what to upload
|
||||||
path: ${{ github.workspace }}/extension/build/package/${{ env.ZIP_FILENAME }}
|
path: ${{ github.workspace }}/extension/build/package/${{ matrix.os }}_${{ matrix.cc }}_${{ env.ZIP_FILENAME }}
|
||||||
# The desired behavior if no files are found using the provided path.
|
# The desired behavior if no files are found using the provided path.
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
# Duration after which artifact will expire in days. 0 means using default retention.
|
# Duration after which artifact will expire in days. 0 means using default retention.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user