Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
Upload new builds as gh release
Browse files Browse the repository at this point in the history
Upload new builds as gh release
  • Loading branch information
lukasbach committed May 22, 2021
1 parent 036a97a commit c518798
Show file tree
Hide file tree
Showing 150 changed files with 120 additions and 25,246 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Build Windows workflow
name: build

on:
push:
workflow_dispatch:

jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Windows
run: pyinstaller --clean --noconfirm specs/windows-terminservice.spec --add-data "tools/cloudscraper;./cloudscraper/"
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Linux
run: pyinstaller --clean --noconfirm specs/linux-64-terminservice.spec --add-data "tools/cloudscraper:./cloudscraper/"
46 changes: 0 additions & 46 deletions .github/workflows/build_linux.yaml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/build_windows.yaml

This file was deleted.

72 changes: 72 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
# Build Windows workflow
name: deploy

on:
push:
tags:
- v*
workflow_dispatch:

jobs:
build-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Windows
run: pyinstaller --clean --noconfirm specs/windows-terminservice.spec --add-data "tools/cloudscraper;./cloudscraper/"
- name: Zip
uses: papeloto/action-zip@v1
with:
files: dist/
dest: vaccipy-windows.zip
- name: Store windows build artifact
uses: actions/upload-artifact@v2
with:
name: vaccipy-windows
path: vaccipy-windows.zip
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build Linux
run: pyinstaller --clean --noconfirm specs/linux-64-terminservice.spec --add-data "tools/cloudscraper:./cloudscraper/"
- name: Zip
uses: papeloto/action-zip@v1
with:
files: dist/
dest: vaccipy-ubuntu.zip
- name: Store windows build artifact
uses: actions/upload-artifact@v2
with:
name: vaccipy-ubuntu
path: vaccipy-ubuntu.zip
release:
runs-on: ubuntu-latest
needs: [build-windows, build-linux]
steps:
- name: Download build files
uses: actions/download-artifact@v2
- uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
files: |
vaccipy-windows/vaccipy-windows.zip
vaccipy-ubuntu/vaccipy-ubuntu.zip
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# vaccipy
[![build-windows](https://github.com/iamnotturner/vaccipy/actions/workflows/build_windows.yaml/badge.svg?branch=master)](https://github.com/iamnotturner/vaccipy/actions/workflows/build_windows.yaml)
[![build-linux-64](https://github.com/iamnotturner/vaccipy/actions/workflows/build_linux.yaml/badge.svg)](https://github.com/iamnotturner/vaccipy/actions/workflows/build_linux.yaml)
[![build](https://github.com/iamnotturner/vaccipy/actions/workflows/build.yaml/badge.svg?branch=master)](https://github.com/iamnotturner/vaccipy/actions/workflows/build.yaml)
[![build-linux-64](https://github.com/iamnotturner/vaccipy/actions/workflows/deploy.yaml/badge.svg)](https://github.com/iamnotturner/vaccipy/actions/workflows/deploy.yaml)

Automatisierte Impfterminbuchung auf [www.impfterminservice.de](https://www.impfterminservice.de/).</br>

Expand All @@ -13,12 +13,7 @@ wo, egal für wen!
* **🌟 NEU:** [Beta Branch (neue, aber noch nicht final getestete Features)](https://github.com/iamnotturner/vaccipy/tree/beta)
</br></br>

<a href="https://cntr.click/9ypzBLb">
<img width="180" height="60" src="https://www.laughingbirdsoftware.com/wp-content/uploads/2020/07/Download-for-Windows-Button.png">
</a>
<a href="https://cntr.click/6Q0PXkK">
<img width="180" heigth="60"src=https://logos-world.net/wp-content/uploads/2020/11/Ubuntu-Emblem.png>
</a>
[Letzten Build herunterladen](https://github.com/iamnotturner/vaccipy/releases/latest)

## Shoutout an:

Expand All @@ -30,7 +25,7 @@ wo, egal für wen!

## Ausgangssituation

Unsere Großeltern möchten sich gerne impfen lassen, aber telefonsich unter 116117 kommen sie nicht durch und das Internet
Unsere Großeltern möchten sich gerne impfen lassen, aber telefonisch unter 116117 kommen sie nicht durch und das Internet
ist auch noch immer irgendwie Neuland. Jetzt kommt es zum Konflikt: einerseits möchte man natürlich gerne bei der Terminbuchung helfen,
andererseits hat man aber auch keine Lust, deshalb nun den ganzen Tag vor dem Computer zu hocken und die Seite zu aktualisieren...

Expand Down Expand Up @@ -177,8 +172,11 @@ Um den Buildprozess zu vereinfachen gibt es verschiedene Buildpipelines, welche
Die pipelines sind im `.github/workflows` Ordner zu finden.

Aktuelle Pipelines:
- [x] [Windows Build-Pipeline](https://github.com/iamnotturner/vaccipy/actions/workflows/build_windows.yaml)
- [x] [Linux 64 Build-Pipeline](https://github.com/iamnotturner/vaccipy/actions/workflows/build_linux.yaml)
- [x] [Build Pipeline für Windows und Ubuntu](https://github.com/iamnotturner/vaccipy/actions/workflows/build.yaml)
- [x] [Release Pipeline](https://github.com/iamnotturner/vaccipy/actions/workflows/release.yaml)

Die Release-pipeline baut bei Tags im Format "v*" und baut automatisch die Anwendung für Windows und Ubuntu, und stellt sie dann
als Github Release zum Download zur Verfügung.

#### Generell

Expand Down Expand Up @@ -225,7 +223,7 @@ werden (von uns oder euch - feel free!) irgendwann hinzukommen:
- [ ] Github Pages
- [ ] Macosx Build / Pipeline (Mac currently blocks the app: [Branch](https://github.com/iamnotturner/vaccipy/tree/mac-intel-build))
- [ ] Code Zertifikate für Windows (gegen Virusmeldung)
- [ ] Artifacts, Packages und Releases
- [x] Artifacts, Packages und Releases
## Das kann vaccipy NICHT - und wird es auch nie können
Expand Down
Binary file not shown.
Binary file removed dist/linux-64-terminservice/base_library.zip
Binary file not shown.
Loading

0 comments on commit c518798

Please sign in to comment.