From a577c137d70bef8c7a439359defd880d23dae2b0 Mon Sep 17 00:00:00 2001 From: seerge Date: Mon, 13 Feb 2023 15:56:07 +0100 Subject: [PATCH 1/4] Update build.yml --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3a3f484..316e1639 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,6 +29,5 @@ jobs: - name: Wrap PS script into EXE shell: pwsh run: | - Install-Module ps2exe - ps2exe .\gpu.ps1 g14-helper.exe -title 'G14 Helper' -DPIAware -winFormsDPIAware -requireAdmin -iconFile 'standard.ico' -noConsole -copyright 'G14 Helper Tool' -noOutput - + Install-Module ps2exe -AllowClobber -Verbose -AcceptLicense -Confirm:$false + ps2exe .\gpu.ps1 g14-helper.exe -title 'G14 Helper' -DPIAware -winFormsDPIAware -requireAdmin -iconFile 'standard.ico' -noConsole -copyright 'G14 Helper Tool' -noOutput From 13be474bb57c76d8a4c851c087425fa286425cce Mon Sep 17 00:00:00 2001 From: seerge Date: Mon, 13 Feb 2023 16:05:31 +0100 Subject: [PATCH 2/4] Update build.yml --- .github/workflows/build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 316e1639..57f7c7d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,9 +25,7 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v3 - # Runs a single command using the runners shell - - name: Wrap PS script into EXE - shell: pwsh - run: | - Install-Module ps2exe -AllowClobber -Verbose -AcceptLicense -Confirm:$false - ps2exe .\gpu.ps1 g14-helper.exe -title 'G14 Helper' -DPIAware -winFormsDPIAware -requireAdmin -iconFile 'standard.ico' -noConsole -copyright 'G14 Helper Tool' -noOutput + - uses: actions/upload-artifact@v3 + with: + name: artifact + path: ./g14-helper.exe From e1b1b6fd7a28750c5e4abdcf860f8993e370e5a9 Mon Sep 17 00:00:00 2001 From: seerge Date: Mon, 13 Feb 2023 16:15:59 +0100 Subject: [PATCH 3/4] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 57f7c7d2..132a8a2e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,5 +27,5 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: artifact + name: g14-helper path: ./g14-helper.exe From 4d4667bfd6a62a5445b975ea6a6454227cf46570 Mon Sep 17 00:00:00 2001 From: seerge Date: Mon, 13 Feb 2023 16:33:13 +0100 Subject: [PATCH 4/4] Update build.yml --- .github/workflows/build.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 132a8a2e..9f3fb5cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,9 +23,18 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 - - - uses: actions/upload-artifact@v3 + - name: Checkout + uses: actions/checkout@v3 + + - name: Build-artifact + uses: actions/upload-artifact@v3 with: name: g14-helper path: ./g14-helper.exe + + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: g14-helper.zip + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}