Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
xarantolus authored and Efreak committed Apr 21, 2022
1 parent 1502303 commit 874f4f2
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 67 deletions.
92 changes: 46 additions & 46 deletions .github/workflows/fdroid.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,46 @@
name: Generate F-Droid repo

on:
push:
branches: [ main ]
workflow_dispatch:

jobs:
apps:
name: "Generate repo from apps listing"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Create basic directory structure
run: mkdir -p fdroid/repo

- name: Install F-Droid server software
run: |
sudo add-apt-repository ppa:fdroid/fdroidserver
sudo apt-get update
sudo apt-get install fdroidserver
- name: Set up repo secrets
run: |
echo "${{ secrets.KEYSTORE_P12 }}" | base64 -d - > fdroid/keystore.p12
echo "${{ secrets.CONFIG_YML }}" | base64 -d - > fdroid/config.yml
- uses: actions/setup-go@v2
name: Set up Go
with:
go-version: '^1.17.0'

- name: Download new apps & update existing ones
run: go run main.go -ap=../apps.yaml -rd=../fdroid/repo -pat="${{ secrets.GH_ACCESS_TOKEN }}"
working-directory: metascoop

- name: Commit all changes
run: |
git config --global user.name 'github-actions'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add fdroid
git commit -m"Automated update" || true
git push
name: Generate F-Droid repo

on:
push:
branches: [ main ]
workflow_dispatch:

jobs:
apps:
name: "Generate repo from apps listing"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Create basic directory structure
run: mkdir -p fdroid/repo

- name: Install F-Droid server software
run: |
sudo add-apt-repository ppa:fdroid/fdroidserver
sudo apt-get update
sudo apt-get install fdroidserver
- name: Set up repo secrets
run: |
echo "${{ secrets.KEYSTORE_P12 }}" | base64 -d - > fdroid/keystore.p12
echo "${{ secrets.CONFIG_YML }}" | base64 -d - > fdroid/config.yml
- uses: actions/setup-go@v2
name: Set up Go
with:
go-version: '^1.17.0'

- name: Download new apps & update existing ones
run: go run main.go -ap=../apps.yaml -rd=../fdroid/repo -pat="${{ secrets.GH_ACCESS_TOKEN }}"
working-directory: metascoop

- name: Commit all changes
run: |
git config --global user.name 'github-actions'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add fdroid
git commit -m"Automated update" || true
git push
42 changes: 21 additions & 21 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License

Copyright (c) 2021 xarantolus

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2021 xarantolus
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

0 comments on commit 874f4f2

Please sign in to comment.