Skip to content

Commit

Permalink
Temp release workflow to grab replugged v4.7.0 from gh
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed Oct 11, 2023
1 parent 61b2052 commit f0ace70
Showing 1 changed file with 33 additions and 12 deletions.
45 changes: 33 additions & 12 deletions .github/workflows/rp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,48 @@ jobs:
contents: write

steps:
- name: Checkout Git repository
uses: "actions/checkout@v2"

- name: Set up Node.js
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18

- name: Install PNPM
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest

- name: Install Node.js dependencies
run: pnpm install

- name: Build TypeScript and bundle into asar
run: pnpm run rp
- name: Checkout theme
uses: actions/checkout@v2
with:
path: theme

- uses: ncipollo/release-action@v1
- name: Checkout Replugged
uses: actions/checkout@v2
with:
repository: replugged-org/replugged
path: replugged
ref: v4.7.0

- name: Link Replugged into theme
run: |
cd theme
pnpm link ../replugged
- name: Build and bundle Replugged
run: |
cd replugged
pnpm install
pnpm run bundle
- name: Build and bundle theme into .asar
run: |
cd theme
pnpm install
pnpm run rp:all
- name: Release theme .asar and .json
uses: ncipollo/release-action@v1
with:
artifacts: "bundle/*, *.theme.css"
artifacts: "theme/bundle/*"
makeLatest: true
generateReleaseNotes: true

0 comments on commit f0ace70

Please sign in to comment.