ci: add names to jobs
All checks were successful
Build / Upload to production (push) Successful in 1m48s
All checks were successful
Build / Upload to production (push) Successful in 1m48s
Signed-off-by: mctaylors <cantsendmails@mctaylors.ru>
This commit is contained in:
parent
690b2f6a57
commit
0bb5bc3634
1 changed files with 5 additions and 2 deletions
|
@ -1,14 +1,17 @@
|
||||||
|
name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["master"]
|
branches: ["master"]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
upload:
|
upload:
|
||||||
|
name: Upload to production
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Python 3.13
|
- name: Set up Python 3.13
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.13'
|
python-version: '3.13'
|
||||||
|
@ -18,7 +21,7 @@ jobs:
|
||||||
pip install pyinstaller
|
pip install pyinstaller
|
||||||
- name: Build binary
|
- name: Build binary
|
||||||
run: pyinstaller --onefile main.py
|
run: pyinstaller --onefile main.py
|
||||||
- name: Setup SSH key
|
- name: Set up SSH key
|
||||||
run: |
|
run: |
|
||||||
install -m 600 -D /dev/null ~/.ssh/id_ed25519
|
install -m 600 -D /dev/null ~/.ssh/id_ed25519
|
||||||
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
|
echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_ed25519
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue