-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compile Cleanup and Tweak Fixes (#2062)
* Simple improvements to 'applications.json' File (#2043) * Replace Spaces with Tabs in 'applications.json' File * Correct 'AFFiNE' App Entry's Winget ID from 'AFFiNE.stable' to 'ToEverything.AFFiNE' in 'applications.json' File * Compile Winutil * Tweaks (#2051) * Fix Numlock toggle (#2044) * Fix Numlock at login * Compile Winutil --------- Co-authored-by: ChrisTitusTech <[email protected]> * Compile Winutil * fix typo (#2041) * Compile Winutil * Update README.md * * Fixed .getignore issues, it's it not enough to just add to gitgnore if it was already tracked by git it will be continued to be tracked by git, so you have to 'git rm' it * Fixed ooshutup, there is no need to download configs, they are already compiled into winutil + Added a tweak to remove and disable Intel LMS, which have been identifed as a potential backdoor into Windows. * Update winget.ps1 * + Added new release actions, every time we merge into main it will create a release by extracting the version fromwinutil.ps1 and setting all appropriate tags and versions * fix merge * add compile back in * Update action to latest tools * Ensure Compile is finished --------- Co-authored-by: Chris Titus <[email protected]> Co-authored-by: ChrisTitusTech <[email protected]> Co-authored-by: nikolan <[email protected]> Co-authored-by: KonTy <[email protected]> Co-authored-by: Chris Titus <[email protected]> * Compile Winutil * Rework Compile (#2061) * Compile Winutil --------- Co-authored-by: Mr.k <[email protected]> Co-authored-by: ChrisTitusTech <[email protected]> Co-authored-by: KonTy <[email protected]> Co-authored-by: nikolan <[email protected]> Co-authored-by: KonTy <[email protected]> Co-authored-by: Martin Wiethan <[email protected]>
- Loading branch information
1 parent
1325ef5
commit 2b80e14
Showing
13 changed files
with
727 additions
and
1,336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Compile | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- test* | ||
|
||
jobs: | ||
build-runspace: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Compile project | ||
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 | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: Compile Winutil | ||
if: success() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,42 @@ | ||
name: Update Branch | ||
name: Release WinUtil | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- test* | ||
workflow_run: | ||
workflows: ["Compile WinUtil"] #Ensure Compile winget.ps1 is done | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build-runspace: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Compile project | ||
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 | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: Compile Winutil | ||
if: success() | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Extract Version from winutil.ps1 | ||
id: extract_version | ||
run: | | ||
$version = '' | ||
Get-Content ./winutil.ps1 -TotalCount 30 | ForEach-Object { | ||
if ($_ -match 'Version\s*:\s*(\d{2}\.\d{2}\.\d{2})') { | ||
$version = $matches[1] | ||
echo "version=$version" >> $GITHUB_ENV | ||
break | ||
} | ||
} | ||
if (-not $version) { | ||
Write-Error "Version not found in winutil.ps1" | ||
exit 1 | ||
} | ||
shell: pwsh | ||
|
||
- name: Create and Upload Release | ||
id: create_release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
tag_name: ${{ steps.extract_version.outputs.version }} | ||
name: Release ${{ steps.extract_version.outputs.version }} | ||
body_path: path/to/release-notes.md | ||
files: ./winutil.ps1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.