pre-compile run

This commit is contained in:
Chris Titus 2024-08-09 10:15:20 -05:00
parent 723e1a132d
commit 0bce9e2647
4 changed files with 6 additions and 6 deletions

View File

@ -35,7 +35,7 @@ jobs:
-H "Accept: application/vnd.github.v3+json" \
-d '{"state": "closed"}' \
"https://api.github.com/repos/${{ github.repository }}/discussions/$discussion_id")
if echo "$response" | jq -e '.id' > /dev/null; then
echo "Successfully closed discussion #$discussion_id"
else
@ -45,4 +45,4 @@ jobs:
fi
done
shell: bash
continue-on-error: true
continue-on-error: true

View File

@ -19,4 +19,4 @@ jobs:
shell: pwsh
run: |
Set-ExecutionPolicy Bypass -Scope Process -Force; ./Compile.ps1
continue-on-error: false # Directly fail the job on error, removing the need for a separate check
continue-on-error: false # Directly fail the job on error, removing the need for a separate check

View File

@ -67,13 +67,13 @@ jobs:
run: |
$signature = Get-AuthenticodeSignature -FilePath ./winutil.ps1
if ($signature.Status -ne 'Valid') { throw "Code signing failed" }
- name: Upload winutil.ps1 as artifact
uses: actions/upload-artifact@v4
with:
name: winutil
path: ./winutil.ps1
- name: Create and Upload Release
id: create_release
uses: softprops/action-gh-release@v2

View File

@ -31,4 +31,4 @@ jobs:
git commit -m "Delete winutil.ps1 as it is not allowed"
git push origin HEAD:${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}