From a0c38903cea0cf027985614b755fd7cf41f4cdf8 Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 25 Nov 2024 11:49:52 +0100 Subject: [PATCH 1/4] ci: remove url from release action step --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 1ae2911..4152841 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -67,7 +67,7 @@ jobs: git push ${{github.repositoryUrl}} $(cat Version.txt) - name: Create release id: create-release - uses: https://gitea.com/actions/release-action@main + uses: release-action@main with: files: |- Example.pdf -- 2.40.1 From ac5e551af993f6eae0a771f9dba256ba610d0fb2 Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 25 Nov 2024 11:51:17 +0100 Subject: [PATCH 2/4] ci: add action owner to release action --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 4152841..0461a4f 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -67,7 +67,7 @@ jobs: git push ${{github.repositoryUrl}} $(cat Version.txt) - name: Create release id: create-release - uses: release-action@main + uses: actions/release-action@main with: files: |- Example.pdf -- 2.40.1 From 281fe9378848fd1be575f5e06b85b609347fe5ab Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 25 Nov 2024 11:56:28 +0100 Subject: [PATCH 3/4] ci: qoute substitute in action --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 0461a4f..45aef7d 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -63,7 +63,7 @@ jobs: echo "==> Tagging for version: $(cat Version.txt)" git config --global credential.helper store echo "https://${USERNAME}:${{secrets.RELEASE_TOKEN}}}@${{github.repositoryUrl}}" > ~/.git-credentials - git tag -m "Release" $(cat Version.txt) + git tag -m "Release" "$(cat Version.txt)" git push ${{github.repositoryUrl}} $(cat Version.txt) - name: Create release id: create-release -- 2.40.1 From 41447f33f348b33586d3694c8fbb829b3f190554 Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 25 Nov 2024 11:58:55 +0100 Subject: [PATCH 4/4] ci: add qoute to substitute in action --- .gitea/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 45aef7d..df36b20 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -64,7 +64,7 @@ jobs: git config --global credential.helper store echo "https://${USERNAME}:${{secrets.RELEASE_TOKEN}}}@${{github.repositoryUrl}}" > ~/.git-credentials git tag -m "Release" "$(cat Version.txt)" - git push ${{github.repositoryUrl}} $(cat Version.txt) + git push ${{github.repositoryUrl}} "$(cat Version.txt)" - name: Create release id: create-release uses: actions/release-action@main -- 2.40.1