Compare commits
2 Commits
5d9750b47e
...
4693fbbed3
Author | SHA1 | Date | |
---|---|---|---|
4693fbbed3 | |||
53559a91b1 |
@@ -21,7 +21,7 @@ jobs:
|
||||
GITHUB_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
||||
with:
|
||||
tag_name: ${{ gitea.ref }}
|
||||
release_name: "${{ gitea.event.repository.name }}-${{ gitea.ref }}"
|
||||
release_name: "${{ gitea.event.repository.name }}-${{ gitea.ref_name }}"
|
||||
draft: true
|
||||
prerelease: false
|
||||
publish:
|
||||
@@ -74,14 +74,14 @@ jobs:
|
||||
if: matrix.platform == 'windows-2022'
|
||||
run: |
|
||||
cp -r -fo assets $env:GITHUB_WORKSPACE/output/
|
||||
Compress-Archive -Force -Path $env:GITHUB_WORKSPACE/output/* -DestinationPath $env:GITHUB_WORKSPACE/${{ gitea.event.repository.name }}-${{ gitea.ref }}-${{ matrix.name }}.${{ matrix.archive }}
|
||||
Compress-Archive -Force -Path $env:GITHUB_WORKSPACE/output/* -DestinationPath $env:GITHUB_WORKSPACE/${{ gitea.event.repository.name }}-${{ gitea.ref_name }}-${{ matrix.name }}.${{ matrix.archive }}
|
||||
- name: Collect linux/macos artifacts
|
||||
if: matrix.platform != 'windows-2022'
|
||||
run: |
|
||||
cp -rf assets ${GITHUB_WORKSPACE}/output/
|
||||
tar -czvf ${GITHUB_WORKSPACE}/${{ gitea.event.repository.name }}-${{ gitea.ref }}-${{ matrix.name }}.${{ matrix.archive }} -C ${GITHUB_WORKSPACE}/output/ .
|
||||
tar -czvf ${GITHUB_WORKSPACE}/${{ gitea.event.repository.name }}-${{ gitea.ref_name }}-${{ matrix.name }}.${{ matrix.archive }} -C ${GITHUB_WORKSPACE}/output/ .
|
||||
- name: Upload artifacts
|
||||
uses: akkuman/gitea-release-action@v1
|
||||
with:
|
||||
draft: false
|
||||
files: "${{ gitea.event.repository.name }}-${{ gitea.ref }}-${{ matrix.name }}.${{ matrix.archive }}"
|
||||
files: "${{ gitea.event.repository.name }}-${{ gitea.ref_name }}-${{ matrix.name }}.${{ matrix.archive }}"
|
||||
|
Reference in New Issue
Block a user