Skip to content

Commit

Permalink
add latest
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk committed Dec 6, 2023
1 parent 3acefa9 commit 64e3cd6
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Templates/AppSource App/.github/workflows/TroubleShooting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: 'Troubleshooting'

on:
workflow_dispatch:
inputs:
useLatestTroubleshooting:
description: Use the latest troubleshooting action from https://aka.ms/al-go
type: boolean
default: false

permissions:
contents: write
Expand All @@ -17,6 +22,7 @@ env:

jobs:
Troubleshooting:
if: github.event.inputs.useLatestTroubleshooting == 'false'
needs: [ ]
runs-on: [ windows-latest ]
steps:
Expand All @@ -29,3 +35,18 @@ jobs:
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}

LatestTroubleshooting:
if: github.event.inputs.useLatestTroubleshooting == 'true'
needs: [ ]
runs-on: [ windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Troubleshooting
id: init
uses: microsoft/AL-Go/Actions/TroubleShooting@main
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: 'Troubleshooting'

on:
workflow_dispatch:
inputs:
useLatestTroubleshooting:
description: Use the latest troubleshooting action from https://aka.ms/al-go
type: boolean
default: false

permissions:
contents: write
Expand All @@ -17,6 +22,7 @@ env:

jobs:
Troubleshooting:
if: github.event.inputs.useLatestTroubleshooting == 'false'
needs: [ ]
runs-on: [ windows-latest ]
steps:
Expand All @@ -29,3 +35,18 @@ jobs:
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}

LatestTroubleshooting:
if: github.event.inputs.useLatestTroubleshooting == 'true'
needs: [ ]
runs-on: [ windows-latest ]
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Troubleshooting
id: init
uses: microsoft/AL-Go/Actions/TroubleShooting@main
with:
shell: powershell
gitHubSecrets: ${{ toJson(secrets) }}

0 comments on commit 64e3cd6

Please sign in to comment.