-
Notifications
You must be signed in to change notification settings - Fork 2.3k
31 lines (30 loc) · 1.29 KB
/
update-simple-graphic.yml
File metadata and controls
31 lines (30 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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: Delete .tar file
run: rm runtime/SimpleGraphicDLLs-x64-windows.tar
- 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 }}