Skip to content

Commit 8e30d91

Browse files
committed
Bundle
1 parent 17844e0 commit 8e30d91

2 files changed

Lines changed: 56 additions & 0 deletions

File tree

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Bundle for tag
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
name: Bundle
11+
runs-on: windows-2022 # For a list of available runner types, refer to
12+
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
13+
permissions:
14+
contents: write
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
- name: Add package version
19+
run: |
20+
echo "PackageVersion = $GITHUB_REF_NAME" >> PinJuke/DistributionInfo.ini
21+
- name: Get app
22+
uses: robinraju/release-downloader@v1.8
23+
with:
24+
repository: "PinJuke/PinJuke"
25+
tag: '1.0.0-alpha.21'
26+
extract: true
27+
- name: Get media
28+
uses: robinraju/release-downloader@v1.8
29+
with:
30+
repository: "PinJuke/PinJuke-Media"
31+
tag: '1.1.0'
32+
extract: true
33+
- name: Get milkdrop
34+
uses: robinraju/release-downloader@v1.8
35+
with:
36+
repository: "PinJuke/PinJuke-Milkdrop"
37+
tag: '1.0.0'
38+
extract: true
39+
- name: Create zip archive
40+
# https://github.com/marketplace/actions/zip-release
41+
uses: thedoctor0/zip-release@0.7.5
42+
with:
43+
type: zip
44+
# e.g. PinJuke_Vpu_1.0.0-alpha.1.zip
45+
filename: PinJuke_Vpu_${{ github.ref_name }}.zip
46+
directory: .
47+
path: PinJuke
48+
- name: Upload release
49+
# https://github.com/ncipollo/release-action
50+
uses: ncipollo/release-action@v1
51+
with:
52+
artifacts: PinJuke_Vpu_${{ github.ref_name }}.zip

PinJuke/DistributionInfo.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[App]
2+
DownloadLink = https://vpuniverse.com/files/
3+
UpdateCheckGithubOwner = PinJuke
4+
UpdateCheckGithubRepo = PinJuke-Package-Vpu

0 commit comments

Comments
 (0)