From 0b86858348d389de87e6b588af8ce73b80ef0e11 Mon Sep 17 00:00:00 2001 From: Luke Tainton Date: Wed, 7 May 2025 00:46:26 +0200 Subject: [PATCH] Update .gitea/workflows/release.yml --- .gitea/workflows/release.yml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 188863b..db4c1d9 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -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