Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2e1dea4

Browse files
author
Your Name
committed
packaging
1 parenta161b38 commit2e1dea4

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

‎.github/workflows/build-deb.yml‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# .github/workflows/generate-copyright.yml
2+
3+
name:Generate Debian Copyright File
4+
5+
on:
6+
push:
7+
branches:[ "main" ]
8+
pull_request:
9+
branches:[ "main" ]
10+
workflow_dispatch:# Allows you to run this workflow manually
11+
12+
jobs:
13+
build:
14+
runs-on:ubuntu-latest
15+
16+
steps:
17+
# 1. Checkout code
18+
-name:Checkout code
19+
uses:actions/checkout@v4
20+
21+
# 2. Create the source archive debmake needs
22+
-name:Create Source Archive
23+
run:|
24+
mkdir -p ../arduino-app-cli-source
25+
rsync -av --progress . ../arduino-app-cli-source --exclude .git
26+
cd ..
27+
tar -czf arduino-app-cli.tar.gz arduino-app-cli-source
28+
cd arduino-app-cli
29+
30+
# 3. Install debmake
31+
-name:Install dependencies
32+
run:sudo apt-get update && sudo apt-get install -y debmake
33+
34+
# 4. Run debmake to generate the debian/ directory and its files
35+
-name:Run debmake to create packaging files
36+
run:debmake -y
37+
38+
# 5. Upload only the copyright file as an artifact
39+
-name:Upload copyright file
40+
uses:actions/upload-artifact@v4
41+
with:
42+
name:debian-copyright-file
43+
path:debian/copyright

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp