Skip to content

Commit

Permalink
ci: runData
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Oct 5, 2022
1 parent 5d15301 commit b73ae12
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 15 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/auto-release.yml
Expand Up @@ -41,21 +41,18 @@ jobs:
distribution: 'temurin'
architecture: x64

- name: Set up Gradle and clean
run: |
chmod +x ./gradlew
rm -rf tmp
mkdir tmp
- name: Build and publish package with Gradle
- name: Build and publish with Gradle
env:
IS_RELEASE: true
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
ORG_GRADLE_PROJECT_signingKey: ${{secrets.RELEASE_SIGNING_GPG_PRIVATE_KEY}}
ORG_GRADLE_PROJECT_signingPassword: ${{secrets.RELEASE_SIGNING_GPG_PASSPHRASE}}
AUIOC_MAVEN_USERNAME: ${{secrets.AUIOC_MAVEN_USERNAME}}
AUIOC_MAVEN_TOKEN: ${{secrets.AUIOC_MAVEN_TOKEN}}
run: ./gradlew clean build publish genUpdateJson
run: |
chmod +x ./gradlew
./gradlew runData
./gradlew build build publish genUpdateJson
- name: Update update JSON
uses: JamesIves/github-pages-deploy-action@4.1.5
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/dev-build.yml
Expand Up @@ -25,14 +25,11 @@ jobs:
distribution: 'temurin'
architecture: x64

- name: Set up Gradle
- name: Build with Gradle
run: |
chmod +x ./gradlew
rm -rf tmp
mkdir tmp
- name: Build with Gradle
run: ./gradlew clean runData build outputProjectFullname
./gradlew runData
./gradlew build outputProjectFullname
- name: Read project full name
run: echo "PROJECT_FULL_NAME=`cat ./tmp/fullname.txt`" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -25,4 +25,4 @@ test*.*

mcmodsrepo

src/generated/resources/*/
src/generated
Empty file removed src/generated/resources/.gitkeep
Empty file.

0 comments on commit b73ae12

Please sign in to comment.