Update .gitea/workflows/release.yml
This commit is contained in:
parent
84f6169114
commit
0b86858348
@ -13,25 +13,6 @@ jobs:
|
||||
name: Tag release
|
||||
uses: https://git.tainton.uk/actions/gha-workflows/.gitea/workflows/release-with-tag.yaml@main
|
||||
|
||||
# create_release:
|
||||
# runs-on: ubuntu-latest
|
||||
# needs: tag
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4.2.2
|
||||
# with:
|
||||
# fetch-depth: 0
|
||||
# ref: ${{ needs.tag.outputs.tag_name }}
|
||||
# - name: Create dummy file
|
||||
# run: echo "${{ needs.tag.outputs.changelog }}" > changelog.md
|
||||
# - name: Release
|
||||
# id: use-go-action
|
||||
# uses: https://gitea.com/actions/release-action@main
|
||||
# with:
|
||||
# files: changelog.md
|
||||
# api_key: '${{ secrets.ACTIONS_TOKEN }}'
|
||||
# title: ${{ needs.tag.outputs.tag_name }}
|
||||
# body: ${{ needs.tag.outputs.changelog }}
|
||||
|
||||
create_release:
|
||||
name: Create Release
|
||||
needs: tag
|
||||
@ -64,6 +45,8 @@ jobs:
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
ref: ${{ needs.tag.outputs.tag_name }}
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
@ -134,7 +117,7 @@ jobs:
|
||||
uses: actions/checkout@v4.2.2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ needs.create_release.outputs.release_name }}
|
||||
ref: ${{ needs.tag.outputs.tag_name }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
Loading…
x
Reference in New Issue
Block a user