-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (29 loc) · 827 Bytes
/
Copy pathtask.yml
File metadata and controls
29 lines (29 loc) · 827 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Azure DevOps Task
on:
workflow_dispatch:
inputs:
task:
description: Task from Tasks/ directory in https://github.com/microsoft/azure-pipelines-tasks.
required: true
execution:
description: Task execution.
required: true
default: node16
permissions:
contents: read
jobs:
task:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
repository: microsoft/azure-pipelines-tasks
- uses: actions/setup-node@v4
with:
node-version: 10
cache: npm
cache-dependency-path: package-lock.json
- run: npm ci
- run: node make.js build --task ${{ inputs.task }}
- uses: frantjc/forge@${{ github.sha }}
- run: forge task -e ${{ inputs.execution }} ${{ inputs.task }}