Skip to content

Commit

Permalink
More fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
NecatiMeral committed Aug 2, 2024
1 parent 2a115a7 commit d6587f8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@ jobs:

steps:
- uses: actions/checkout@v4
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
if: inputs.doRelease == true
with:
fetch-depth: 0
token: ${{ secrets.PAT }}

- uses: actions/checkout@v4
if: github.event_name == 'pull_request'
if: inputs.doRelease != true
with:
fetch-depth: 0

Expand All @@ -54,7 +54,8 @@ jobs:
$Version = "${{ steps.version.outputs.semVer }}"
./build/build.ps1 -Version $Version
- uses: stefanzweifel/git-auto-commit-action@v5
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
if: inputs.doRelease == true && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
with:
commit_message: "Bump version to ${{ steps.version.outputs.semVer }}"
Expand All @@ -74,4 +75,4 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: Extensions
path: build/*.zip
path: build/*.zip

0 comments on commit d6587f8

Please sign in to comment.