Update release.yml

This commit is contained in:
Pavindu Lakshan 2025-04-26 20:02:45 +05:30 committed by GitHub
parent 9ce9509cce
commit 87a1cbe21a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,7 @@ jobs:
with: with:
ref: 'main' ref: 'main'
fetch-depth: 0 fetch-depth: 0
token: ${{ secrets.GIT_BOT_PAT }} token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Set up Go 1.x - name: Set up Go 1.x
@ -60,5 +60,5 @@ jobs:
- name: Update artifact version, package, commit, and create release. - name: Update artifact version, package, commit, and create release.
env: env:
GITHUB_TOKEN: ${{ secrets.GIT_BOT_PAT }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bash ./.github/scripts/release.sh $GITHUB_TOKEN ${{ github.workspace }} ${{ github.event.inputs.version_type }} run: bash ./.github/scripts/release.sh $GITHUB_TOKEN ${{ github.workspace }} ${{ github.event.inputs.version_type }}