change artifact filename
Some checks failed
Some checks failed
This commit is contained in:
@@ -69,14 +69,14 @@ jobs:
|
|||||||
if: matrix.platform == 'windows-2022'
|
if: matrix.platform == 'windows-2022'
|
||||||
run: |
|
run: |
|
||||||
cp -r -fo assets $env:GITHUB_WORKSPACE/output/
|
cp -r -fo assets $env:GITHUB_WORKSPACE/output/
|
||||||
Compress-Archive -Force -Path $env:GITHUB_WORKSPACE/output/* -DestinationPath $env:GITHUB_WORKSPACE/${{ gitea.event.repository.name }}_${{ matrix.name }}.${{ matrix.archive }}
|
Compress-Archive -Force -Path $env:GITHUB_WORKSPACE/output/* -DestinationPath $env:GITHUB_WORKSPACE/${{ gitea.event.repository.name }}-${{ gitea.ref }}-${{ matrix.name }}.${{ matrix.archive }}
|
||||||
- name: Collect linux/macos artifacts
|
- name: Collect linux/macos artifacts
|
||||||
if: matrix.platform != 'windows-2022'
|
if: matrix.platform != 'windows-2022'
|
||||||
run: |
|
run: |
|
||||||
cp -rf assets ${GITHUB_WORKSPACE}/output/
|
cp -rf assets ${GITHUB_WORKSPACE}/output/
|
||||||
tar -czvf ${GITHUB_WORKSPACE}/${{ gitea.event.repository.name }}_${{ matrix.name }}.${{ matrix.archive }} -C ${GITHUB_WORKSPACE}/output/ .
|
tar -czvf ${GITHUB_WORKSPACE}/${{ gitea.event.repository.name }}-${{ gitea.ref }}-${{ matrix.name }}.${{ matrix.archive }} -C ${GITHUB_WORKSPACE}/output/ .
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: akkuman/gitea-release-action@v1
|
uses: akkuman/gitea-release-action@v1
|
||||||
with:
|
with:
|
||||||
allowUpdates: true
|
allowUpdates: true
|
||||||
files: "${{ gitea.event.repository.name }}_${{ matrix.name }}.${{ matrix.archive }}"
|
files: "${{ gitea.event.repository.name }}-${{ gitea.ref }}-${{ matrix.name }}.${{ matrix.archive }}"
|
||||||
|
Reference in New Issue
Block a user