diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index de96879..3646c76 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,6 +10,7 @@ on: permissions: contents: write + packages: write env: DOTNET_VERSION: '8.0.x' @@ -112,6 +113,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + token: ${{ secrets.GITHUB_TOKEN }} - name: Set up Git user run: | @@ -119,8 +121,6 @@ jobs: git config user.email "actions@github.com" - name: Create and push tag - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git tag ${{ needs.set-tag.outputs.tag_name }} git push origin ${{ needs.set-tag.outputs.tag_name }} \ No newline at end of file