Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build_git.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build-Git
name: Build Git

on:
workflow_dispatch:
Expand Down Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Clone submodule
run: |
git submodule update --init --recursive

- run: |
cd libgit2-android
source build.sh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:
#pull_request:
#paths-ignore:
# - "README*.md"
# - "*.md"
# types: [opened, synchronize, reopened, ready_for_review]

concurrency:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nightly_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
push:
branches:
- main
paths-ignore:
- "*.md"

concurrency:
group: ${{ github.workflow }}
Expand All @@ -18,6 +20,7 @@ env:
jobs:
upload-artifacts:
uses: ./.github/workflows/upload_artifacts.yml
secrets: inherit

publish:
needs: upload-artifacts
Expand Down
17 changes: 1 addition & 16 deletions .github/workflows/upload_artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,36 +34,21 @@ jobs:
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Clone submodule
run: |
git submodule init
git submodule update

- name: Retrieve the secret and decode it to a file
env:
KEY_BASE64: ${{ secrets.KEY_BASE64 }}
run: |
echo $KEY_BASE64 | base64 --decode > app/key.jks


- name: Build apk
env:
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
STORE_PASSWORD: ${{ secrets.KEY_PASSWORD }}
run: |
echo $KEY_ALIAS
echo $KEY_PASSWORD
echo $STORE_PASSWORD
cat app/key.jks
ls app/
./gradlew assembleRelease

# todo should sign
# https://github.com/libre-tube/LibreTube/blob/master/.github/workflows/ci.yml

- run: echo "DEB_NAME=$(basename ./packages/fan-control*.deb)" >> $GITHUB_ENV

- uses: actions/upload-artifact@v4
with:
name: gitnote
Expand Down