mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-19 09:24:04 -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 }}
|