Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
moddedmcplayer committed May 2, 2024
1 parent b8edd01 commit 0b25166
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ jobs:
- name: Proof it exists
shell: pwsh
run: |
echo [System.IO.File]::Exists('${{ github.workspace }}/bin/XPSystem-nw.dll')
echo [System.IO.File]::Exists('${{ github.workspace }}/bin/XPSystem-EXILED.dll')
echo $([System.IO.File]::Exists('${{ github.workspace }}/bin/XPSystem-nw.dll'))
echo $([System.IO.File]::Exists('${{ github.workspace }}/bin/XPSystem-EXILED.dll'))
- name: Get branch name
shell: bash
Expand Down Expand Up @@ -119,8 +119,8 @@ jobs:
- name: Proof it exists 2
shell: pwsh
run: |
echo [System.IO.File]::Exists('${{ github.workspace }}/bin/XPSystem-nw.dll')
echo [System.IO.File]::Exists('${{ github.workspace }}/bin/XPSystem-EXILED.dll')
echo $([System.IO.File]::Exists('${{ github.workspace }}/bin/XPSystem-nw.dll'))
echo $([System.IO.File]::Exists('${{ github.workspace }}/bin/XPSystem-EXILED.dll'))
- uses: ncipollo/release-action@v1.13.0
if: ${{ env.newversion == 'true' }}
Expand All @@ -139,7 +139,7 @@ jobs:

- name: Create release pr
if: ${{ env.newversion == 'true' && steps.get_branch.outputs.branch == 'master' }}
shell: pwsh
run: gh pr create -B release -H master --title '${{ env.currver }}' --body 'Automated PR' -ErrorAction SilentlyContinue
shell: bash
run: gh pr create -B release -H master --title '${{ env.currver }}' --body 'Automated PR' || echo 'error'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0b25166

Please sign in to comment.