Compare commits

...

5 Commits
0.4.1 ... 0.4.2

Author SHA1 Message Date
seerge
5332f9943e Merge branch 'main' of https://github.com/seerge/g14-helper 2023-02-13 17:29:30 +01:00
seerge
72258dc979 - 2023-02-13 17:29:15 +01:00
seerge
ce878abd62 Update build.yml 2023-02-13 17:10:50 +01:00
seerge
34ab780a0f CI 2023-02-13 16:58:20 +01:00
seerge
b96a5cbf46 - 2023-02-13 16:48:24 +01:00
2 changed files with 10 additions and 12 deletions

View File

@@ -4,12 +4,6 @@ name: CI
# Controls when the workflow will run # Controls when the workflow will run
on: on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
@@ -27,14 +21,17 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build-artifact - name: Build-artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v2
with: with:
name: g14-helper name: "G14-Helper"
path: ./g14-helper.exe path: g14-helper.exe
- name: Release - name: Release
uses: softprops/action-gh-release@v1 uses: softprops/action-gh-release@91409e712cf565ce9eff10c87a8d1b11b81757ae
if: startsWith(github.ref, 'refs/tags/')
with: with:
files: g14-helper.zip # Identify if this is a pre release by checking if the tag name contains -rc, -b, -a
prerelease: ${{ contains(github.ref, '-rc') || contains(github.ref, '-b') || contains(github.ref, '-a') }}
files: /*
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -16,3 +16,4 @@ $principal = New-ScheduledTaskPrincipal -UserId $env:USERNAME -RunLevel Highest
$definition = New-ScheduledTask -Action $action -Principal $principal -Trigger $trigger -Settings $settings -Description "Run $($taskName) at Logon" $definition = New-ScheduledTask -Action $action -Principal $principal -Trigger $trigger -Settings $settings -Description "Run $($taskName) at Logon"
Register-ScheduledTask -TaskName $taskName -InputObject $definition Register-ScheduledTask -TaskName $taskName -InputObject $definition