Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
SammyT291 committed Nov 25, 2023
2 parents 6e2e498 + fdcc6b7 commit ec2012a
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,20 @@ jobs:
echo "::set-output name=exists::false"
fi
- name: Push Tag
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git tag -a "v${{ steps.extract_version.outputs.version }}" -m "Release v${{ steps.extract_version.outputs.version }}"
git push https://${{ secrets.PUBBUILD }}@github.com/sammyt291/FineHarvest.git "v${{ steps.extract_version.outputs.version }}"
- name: Create Tag
# You may pin to the exact commit or the version.
# uses: negz/create-tag@39bae1e0932567a58c20dea5a1a0d18358503320
uses: negz/create-tag@v1
with:
token: ${{secrets.TEST}}
version: "v${{ steps.extract_version.outputs.version }}"
message: ""

- name: Create GitHub Release
if: steps.check_tag.outputs.exists == 'false'
uses: softprops/action-gh-release@v1
with:
token: ${{secrets.TEST}}
tag_name: "v${{ steps.extract_version.outputs.version }}"
release_name: "Release v${{ steps.extract_version.outputs.version }}"
name: "Release v${{ steps.extract_version.outputs.version }}"
files: build/libs/*.jar
env:
GITHUB_TOKEN: ${{ secrets.PUBBUILD }}

0 comments on commit ec2012a

Please sign in to comment.