Skip to content

Commit

Permalink
chore: update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
DengSir committed Apr 12, 2024
1 parent 49be115 commit 9c8499b
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 29 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/auto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: "Auto update 🌏"
on:
push:
branches:
- "master"
tags-ignore:
- "v*"

jobs:
auto:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Update locales
uses: curse-action/locale@master
with:
token: ${{ secrets.CURSE_TOKEN }}

- name: Update libs
uses: curse-action/update@master
with:
root: Libs

- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: "chore: Update locale/libs files"
24 changes: 0 additions & 24 deletions .github/workflows/locale.yml

This file was deleted.

12 changes: 7 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
name: "Publish addon 🚛"
name: "Publish 🚛"
on:
push:
tags:
- v*

jobs:
build:
publish:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- uses: DengSir/curse-publish-action@master
- name: Publish to curseforge
uses: curse-action/publish@master
with:
token: ${{ secrets.CURSE_TOKEN }}

- name: release
- name: Release to github
uses: softprops/action-gh-release@v2
with:
body_path: changelog.txt
Expand Down

0 comments on commit 9c8499b

Please sign in to comment.