Files
PathOfBuilding/.github/workflows/update-simple-graphic.yml
Wires77 60d9532191 Automate creating PR for SimpleGraphic releases (#8425)
* Add SG workflow

* Fix repo name

* Fix repo owner
2025-01-27 20:27:30 -06:00

29 lines
1.2 KiB
YAML

name: Update SimpleGraphic DLLs
on:
repository_dispatch:
types: [update-simple-graphic]
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: 'dev'
- name: Download DLLs
uses: robinraju/release-downloader@v1
with:
repository: ${{ github.repository_owner }}/PathOfBuilding-SimpleGraphic
tag: ${{ github.event.client_payload.tag }}
fileName: SimpleGraphicDLLs-x64-windows.tar
extract: true
out-file-path: runtime
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: Update to SimpleGraphic ${{ github.event.client_payload.tag }}
branch: simple-graphic-${{ github.event.client_payload.tag }}
body: |
Update DLLs to SimpleGraphic-${{ github.event.client_payload.tag }} from ${{ github.event.client_payload.release_link }}
commit-message: Update DLLs to SimpleGraphic-${{ github.event.client_payload.tag }}