mirror of
https://github.com/Picocrypt/Picocrypt.git
synced 2025-05-13 06:08:30 +02:00
Update build-linux.yml
This commit is contained in:
parent
c2217f9e6b
commit
a820f41e3c
1 changed files with 14 additions and 2 deletions
16
.github/workflows/build-linux.yml
vendored
16
.github/workflows/build-linux.yml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
sudo apt install -y gcc xorg-dev libgtk-3-dev libgl1-mesa-dev libglu1-mesa
|
sudo apt install -y gcc xorg-dev libgtk-3-dev libgl1-mesa-dev libglu1-mesa wget
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
|
@ -42,10 +42,22 @@ jobs:
|
||||||
CGO_ENABLED: 1
|
CGO_ENABLED: 1
|
||||||
GOAMD64: v2
|
GOAMD64: v2
|
||||||
|
|
||||||
|
- name: Package as .deb
|
||||||
|
run: |
|
||||||
|
wget https://github.com/user-attachments/files/15922055/Picocrypt.zip
|
||||||
|
python -m zipfile -e Picocrypt.zip
|
||||||
|
ls
|
||||||
|
cp src/Picocrypt Picocrypt/Picocrypt/usr/local/bin/
|
||||||
|
cd Picocrypt
|
||||||
|
ls
|
||||||
|
dpkg-deb --build --root-owner-group Picocrypt
|
||||||
|
ls
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: build-linux
|
name: build-linux
|
||||||
path: src/Picocrypt
|
path: |
|
||||||
|
src/Picocrypt
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
compression-level: 9
|
compression-level: 9
|
||||||
|
|
Loading…
Add table
Reference in a new issue