diff --git a/.github/workflows/BuildDebug.yml b/.github/workflows/BuildDebug.yml index 5282e8e067..2654933801 100644 --- a/.github/workflows/BuildDebug.yml +++ b/.github/workflows/BuildDebug.yml @@ -18,7 +18,17 @@ jobs: with: distribution: 'zulu' java-version: 21 - cache: gradle + cache: gradle + - name: Write sign info + if: github.repository_owner == 'Kaiserdragon2' + run: | + if [ ! -z "${{ secrets.KEYSTORE }}" ]; then + echo storePassword='${{ secrets.KEYSTORE_PASSWORD }}' >> keystore.properties + echo keyAlias='${{ secrets.KEY_ALIAS }}' >> keystore.properties + echo keyPassword='${{ secrets.KEY_PASSWORD }}' >> keystore.properties + echo storeFile='${{ github.workspace }}/key.jks' >> keystore.properties + echo ${{ secrets.KEYSTORE }} | base64 --decode > ${{ github.workspace }}/key.jks + fi - name: Get Gradle run: gradle wrapper - name: Grant execute permission for gradlew @@ -28,7 +38,6 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: Debug APK path: | app/build/outputs/apk/black/debug/*.apk app/build/outputs/apk/blackPlay/debug/*.apk diff --git a/.github/workflows/BuildRelease.yml b/.github/workflows/BuildRelease.yml index 47f31ed2df..63df05780d 100644 --- a/.github/workflows/BuildRelease.yml +++ b/.github/workflows/BuildRelease.yml @@ -21,13 +21,8 @@ jobs: distribution: 'zulu' java-version: 21 cache: gradle - - - name: Write Owner Name - run: - echo ${{github.repository_owner}} - echo ${{github.ref}} - if: github.repository_owner == 'Kaiserdragon2' - name: Write sign info + if: github.repository_owner == 'Kaiserdragon2' run: | if [ ! -z "${{ secrets.KEYSTORE }}" ]; then echo storePassword='${{ secrets.KEYSTORE_PASSWORD }}' >> keystore.properties @@ -57,11 +52,7 @@ jobs: image="![releaseImage](https://github.com/Kaiserdragon2/Arcticons/blob/$GITHUB_REF_NAME/generated/releaseImage.jpg)" changelog=$(cat ./generated/changelog.md) changelog="$changelog $image" - echo $GITHUB_REF_NAME - echo $name - echo $changelog gh release create $GITHUB_REF_NAME --generate-notes --title "$name" --notes "$changelog" --discussion-category "Announcements" app/build/outputs/apk/normal/release/*.apk app/build/outputs/apk/black/release/*.apk app/build/outputs/apk/dayNight/release/*.apk app/build/outputs/apk/you/release/*.apk - env: GH_TOKEN: ${{ github.token }} diff --git a/generated/changelog.md b/generated/changelog.md index d323057d7f..886c3226a5 100644 --- a/generated/changelog.md +++ b/generated/changelog.md @@ -1,3 +1,7 @@ -### Wow a Test Release +### An Awsome Release Title +* :rocket: Many new icons! +* :rainbow: +* :tada: Fixes for icons not applying. +* :fire: 10000 icons in total! +* :sparkles: -this is here to test things out