3 Commits

Author SHA1 Message Date
Aarnav Tale
11bbbb9207 chore: v1.0.7 2023-01-25 00:45:01 -05:00
Aarnav Tale
574fbc2143 fix: make action run using node16 2023-01-25 00:44:53 -05:00
Aarnav Tale
b284f0ba18 fix: add tagging on the push command 2023-01-25 00:43:59 -05:00
2 changed files with 5 additions and 17 deletions

View File

@@ -13,17 +13,6 @@ inputs:
description: A base64 encoded reference to your authorization file (~/.kube/config)
required: true
runs:
using: composite
steps:
- run: echo "${{ github.action_path }}" >> $GITHUB_PATH
shell: bash
- name: Configure kubectl CLI
run: setup-kubectl.sh
shell: bash
env:
KUBECTL_VERSION: ${{ inputs.kubectl-version }}
- name: Authorize kubectl to the cluster
run: login-kubectl.sh
shell: bash
env:
BASE64_KUBE_CONFIG: ${{ inputs.base64-kube-config }}
using: node16
main: dist/index.js
post: dist/post.js

View File

@@ -1,11 +1,10 @@
{
"name": "kubectl-action",
"version": "1.0.6",
"version": "1.0.7",
"scripts": {
"dev": "ncc -smw --license licenses.txt build src/main.ts",
"build": "ncc -sm --license licenses.txt build src/main.ts",
"push": "np --no-cleanup --no-publish --no-tests --message 'chore: v%s'",
"postpush": "git tag --force v1 && git push -f",
"push": "np --no-cleanup --no-publish --no-tests --message 'chore: v%s' && git tag --force v1 && git push -f",
"version": "pnpm run build && git add dist"
},
"dependencies": {