Skip to content

configuring api key

configuring api key #3

Workflow file for this run

---
name: ci
on:
push:
branches:
- main
workflow_dispatch: { }
jobs:
push:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Pack
uses: crazy-max/ghaction-chocolatey@v3
env:
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}
with:
args: apikey --key $env:CHOCOLATEY_API_KEY --source https://push.chocolatey.org/
- name: Pack
uses: crazy-max/ghaction-chocolatey@v3
with:
args: pack
- name: Push
uses: crazy-max/ghaction-chocolatey@v3
with:
args: push --source "https://push.chocolatey.org/"