From a6d9dde5b18e68be65e7adf763ffe1bda7b27c51 Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Tue, 29 Jun 2021 12:59:14 +0200 Subject: [PATCH] Remove Github Actions and move issue templates to folder usable by Gitlab --- .github/FUNDING.yml | 4 -- .github/workflows/develop.yml | 26 ----------- .github/workflows/release.yml | 45 ------------------- .../issue_templates}/bug_report.md | 0 4 files changed, 75 deletions(-) delete mode 100644 .github/FUNDING.yml delete mode 100644 .github/workflows/develop.yml delete mode 100644 .github/workflows/release.yml rename {.github/ISSUE_TEMPLATE => .gitlab/issue_templates}/bug_report.md (100%) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 187e639..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,4 +0,0 @@ -github: ["apognu"] -custom: [ - "https://www.paypal.me/apognu" -] diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml deleted file mode 100644 index 0ad66b6..0000000 --- a/.github/workflows/develop.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Continuous develop build -on: - push: - branches: - - develop -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - name: set up JDK 1.8 - uses: actions/setup-java@v1 - with: - java-version: 1.8 - - name: Build with Gradle - run: | - mkdir -p /home/runner/.android && touch /home/runner/.android/repositories.cfg - ./gradlew assembleDebug - - name: Create release - uses: eine/tip@gha-tip - with: - token: ${{ secrets.GITHUB_TOKEN }} - cwd: ${{ github.workspace }} - files: app/build/outputs/apk/debug/app-debug.apk diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 471a332..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Release build -on: - push: - tags: - - "[0-9]+.[0-9]+.[0-9]+" -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - ref: ${{ github.ref }} - - name: Setting up publication keystore - run: | - echo "${{ secrets.ANDROID_KEYSTORE }}" > ${HOME}/release.jks.asc - gpg -q --yes --batch -d --passphrase="${{ secrets.ENCRYPTION_KEY }}" -o ${HOME}/release.jks ${HOME}/release.jks.asc - echo -e "signing.store=${HOME}/release.jks\nsigning.key_passphrase=${{ secrets.ANDROID_KEYSTORE_KEY_PASSPHRASE }}\nsigning.alias=release\nsigning.store_passphrase=${{ secrets.ANDROID_KEYSTORE_STORE_PASSPHRASE }}" > local.properties - - name: Set up JDK 1.8 - uses: actions/setup-java@v1 - with: - java-version: 1.8 - - name: Build Otter - run: | - mkdir -p /home/runner/.android && touch /home/runner/.android/repositories.cfg - ./gradlew assembleRelease - - name: Create Otter's release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - draft: false - prerelease: true - - name: Upload Otter's artifact (full version) - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: app/build/outputs/apk/release/app-release.apk - asset_name: otter-full-release.apk - asset_content_type: application/zip diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.gitlab/issue_templates/bug_report.md similarity index 100% rename from .github/ISSUE_TEMPLATE/bug_report.md rename to .gitlab/issue_templates/bug_report.md