-
-
Notifications
You must be signed in to change notification settings - Fork 213
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use procursus instead of brew for macos tests
- Loading branch information
1 parent
57e64b0
commit 1914c37
Showing
6 changed files
with
216 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
## Description | ||
**Is your pull request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
## Is this related to an issue/problem? | ||
**Description** | ||
A clear and concise description of what you want to happen. | ||
|
||
## Checklist | ||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context about the pull request here. | ||
|
||
**Checklist** | ||
|
||
- [ ] The new code was tested. | ||
- [ ] The code isn't overly messy. | ||
- [ ] The code isn't overly messy. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
name: Push to Docker Hub | ||
|
||
on: | ||
workflow_dispatch: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
docker: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
- name: Set up QEMU | ||
uses: docker/setup-qemu-action@v1 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v1 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.DOCKERHUB_USERNAME }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
push: true | ||
tags: itsnebulalol/permasigner:latest | ||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
push: true | ||
tags: itsnebulalol/permasigner:latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,23 @@ | ||
name: Lint script | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- "README.md" | ||
branches: | ||
- "main" | ||
push: | ||
paths-ignore: | ||
- 'README.md' | ||
branches: | ||
- "main" | ||
|
||
jobs: | ||
autopep8: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
autopep8: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: autopep8 | ||
uses: peter-evans/autopep8@v1 | ||
with: | ||
args: --recursive --in-place . | ||
- name: autopep8 | ||
uses: peter-evans/autopep8@v1 | ||
with: | ||
args: --recursive --in-place . | ||
|
||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Lint script with autopep8 | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: Lint script with autopep8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
name: Run script | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
ipa: | ||
description: "Direct URL to IPA file" | ||
required: true | ||
workflow_dispatch: | ||
inputs: | ||
ipa: | ||
description: "Direct URL to IPA file" | ||
required: true | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
run: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checkout the latest code from the repo | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
steps: | ||
# Checkout the latest code from the repo | ||
- name: Checkout repo | ||
uses: actions/checkout@v2 | ||
|
||
# Setup which version of Python to use | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
# Setup which version of Python to use | ||
- name: Set up Python 3.9 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.9 | ||
|
||
# Install dependencies | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
# Install dependencies | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
# Run script | ||
- name: Run script | ||
run: python main.py -u ${{ github.event.inputs.ipa }} -n -d | ||
# Run script | ||
- name: Run script | ||
run: python main.py -u ${{ github.event.inputs.ipa }} -n -d | ||
|
||
# Upload test artifact | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: App.deb | ||
path: output/* | ||
# Upload test artifact | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: App.deb | ||
path: output/* |
Oops, something went wrong.