Merge pull request #97 from StefanScherer/packer-1-11-0 #15
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish | |
on: | |
push: | |
tags: | |
- 1.* | |
jobs: | |
publish-packer: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Choco pack | |
uses: crazy-max/ghaction-chocolatey@v2.1.0 | |
with: | |
args: pack .\packer.nuspec | |
- name: Test 64 bit | |
run: .\test.ps1 -cpu x64 | |
- name: Test 32 bit | |
run: .\test.ps1 -cpu x86 | |
- name: Add Choco API Key | |
uses: crazy-max/ghaction-chocolatey@v2.1.0 | |
with: | |
args: apikey --key ${{secrets.CHOCO_API_KEY}} --source https://push.chocolatey.org/ | |
- name: Publish (noop) | |
uses: crazy-max/ghaction-chocolatey@v2.1.0 | |
with: | |
args: push --source https://push.chocolatey.org/ |