Skip to content

Commit

Permalink
Fuck this (removed publishing)
Browse files Browse the repository at this point in the history
  • Loading branch information
SwanX1 committed Mar 22, 2022
1 parent afba981 commit 3b7b030
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 29 deletions.
28 changes: 2 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Build and publish
name: Build
on:
push:
tags:
- '1.18/*'
branches: [ '1.18' ]
paths:
- 'build.gradle'
Expand Down Expand Up @@ -37,26 +35,4 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: build-artifacts
path: build/libs/

publish:
runs-on: ubuntu-20.04
if: ${{ success() && github.ref_type == 'tag' }}
needs: [ build ]
steps:
- name: Download build artifacts
uses: actions/download-artifact@v3
with:
name: build-artifacts
path: build/libs/

- name: Publish build artifacts
uses: Kir-Antipov/[email protected]
with:
modrinth-id: VZWuyRVr
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}

curseforge-id: 441114
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}

github-token: ${{ secrets.GITHUB_TOKEN }}
path: build/libs/
3 changes: 0 additions & 3 deletions build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,3 @@ ARTIFACT=nebs
ARCHIVES_BASE_NAME=NekosEnchantedBooks
TITLE=nebs
AUTHOR=infernalstudios

CURSEFORGE_ID=441114
MODRINTH_ID=VZWuyRVr

0 comments on commit 3b7b030

Please sign in to comment.