Move from github to gitea #1
@@ -65,11 +65,10 @@ jobs:
|
||||
run: |
|
||||
git config user.email "action@gitea.nasvincent.com"
|
||||
git config user.name "Gitea Action"
|
||||
git tag ${{ steps.version.outputs.new_version }}
|
||||
git push origin ${{ steps.version.outputs.new_version }}
|
||||
git tag ${{ steps.version.outputs.new_version }} && git push origin ${{ steps.version.outputs.new_version }} || echo "Tag already exists, skipping"
|
||||
- name: Save new minor version
|
||||
run: |
|
||||
curl -s -X PUT "https://gitea.nasvincent.com/api/v1/repos/${{ github.repository }}/actions/variables/VERSION_MINOR" \
|
||||
curl -sf -X PUT "https://gitea.nasvincent.com/api/v1/repos/${{ github.repository }}/actions/variables/VERSION_MINOR" \
|
||||
-H "Authorization: token ${{ secrets.TOKEN }}" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d "{\"value\": \"${{ steps.version.outputs.new_minor }}\"}"
|
||||
|
||||
Reference in New Issue
Block a user