diff --git a/.gitea/workflows/push_to_main.yaml b/.gitea/workflows/push_to_main.yaml index 40df733..d4b219c 100644 --- a/.gitea/workflows/push_to_main.yaml +++ b/.gitea/workflows/push_to_main.yaml @@ -10,10 +10,6 @@ jobs: steps: - name: Check out repository code uses: actions/checkout@v3 - - run: echo "I did a thing" - - run: git config --global user.email "cloud+git+runner@thorup.us" - - run: git config --global user.name "Git runner" - - run: echo "I finished doing a thing" - run: git tag -d v1 || true - run: git push --delete origin v1 || true - run: git tag v1 diff --git a/action.sh b/action.sh index 0fed947..c38c589 100755 --- a/action.sh +++ b/action.sh @@ -1,5 +1,7 @@ apt update apt install jq -y +git config --global user.email "cloud+git+runner@thorup.us" +git config --global user.name "Git runner" CURRENT_VERSION=$(jq -r .version package.json) echo $CURRENT_VERSION PREVIOUS_VERSIONS=$(git tag -l)