mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-21 21:41:29 -06:00
pre-compile run
This commit is contained in:
parent
723e1a132d
commit
0bce9e2647
@ -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
|
||||
|
2
.github/workflows/compile-check.yaml
vendored
2
.github/workflows/compile-check.yaml
vendored
@ -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
|
||||
|
4
.github/workflows/pre-release.yaml
vendored
4
.github/workflows/pre-release.yaml
vendored
@ -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
|
||||
|
2
.github/workflows/remove-winutil.yaml
vendored
2
.github/workflows/remove-winutil.yaml
vendored
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user