diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e3a3f484..9f3fb5cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,12 +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 - - # Runs a single command using the runners shell - - 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 - + - 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 }}