Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing #89

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/check-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set Node.js 16.x
- name: Set Node.js 20
uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: npm ci
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,5 @@ jobs:
- name: Live Test
uses: ./
with:
subscriptionId: ${{ vars.AZURE_SUBSCRIPTION_ID }}
resourceGroup: ${{ vars.AZURE_RESOURCE_GROUP }}
templateFile: test/scenarios/static-error/main.bicep
parametersFile: test/scenarios/static-error/main.bicepparam
action: validate
config: test/live/config.json
22 changes: 6 additions & 16 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,17 @@
name: 'Bicep Action'
description: 'Testing with Bicep Action'
description: 'Runs various Bicep deployment scenarios'
author: 'Anthony Martin'
inputs:
repo-token:
description: "A GitHub token for API access. Defaults to {{ github.token }}."
default: "${{ github.token }}"
required: true
subscriptionId:
config:
description: "Path to the JSON configuration file"
required: true
description: 'Subscription Id'
resourceGroup:
action:
description: "The action to perform"
required: true
description: 'Resource Group'
templateFile:
required: true
description: 'Template File'
parametersFile:
required: true
description: 'Parameters File'
whatIf:
required: false
description: 'Run what-if'
default: false
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading
Loading