mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 20:39:40 -08:00
20 lines
506 B
YAML
20 lines
506 B
YAML
name: PowerShell
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
shell: pwsh
|
|
working-directory: ${{ github.workspace }}/packages/powershell
|
|
steps:
|
|
- name: Checkout code 👋
|
|
uses: actions/checkout@v2
|
|
- name: Pack & Push 📦
|
|
run: |
|
|
$version = $env:GITHUB_REF.TrimStart("refs/tags/v")
|
|
./deploy.ps1 -ModuleVersion $version -Repository PSGallery -RepositoryAPIKey ${{ secrets.PSGALLERY_KEY }}
|