Skip to content

Commit

Permalink
Test some more
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiserdragon2 committed Jul 27, 2024
1 parent 8e96e41 commit 49c1ad3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 14 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/BuildDebug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/BuildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

Expand Down
8 changes: 6 additions & 2 deletions generated/changelog.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 49c1ad3

Please sign in to comment.