2.18.0 #24
Workflow file for this run
This file contains 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
on: | |
workflow_dispatch: | |
release: | |
types: | |
- published | |
name: Update release | |
jobs: | |
update-scoop: | |
name: Update scoop manifests | |
runs-on: windows-latest | |
steps: | |
- name: "Get latest release" | |
id: latest | |
uses: gregziegan/[email protected] | |
- name: Checkout | |
uses: actions/checkout@main | |
with: | |
ref: "develop" | |
- name: Update manifests | |
env: | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
run: | | |
iex "& {$(irm get.scoop.sh)} -RunAsAdmin" | |
.\bin\checkver.ps1 * -u | |
echo "VENV_VERSION='${{ steps.latest.outputs.tag_name }}'" | Out-File -FilePath .\Casks\local_config.rb | |
- name: Create pull request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
branch: "manifests/${{ steps.latest.outputs.tag_name }}" | |
title: "Update manifests to version ${{ steps.latest.outputs.tag_name }}" | |
body: "Update manifests to version ${{ steps.latest.outputs.tag_name }}." |