Skip to content
Merged
Changes from 8 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
54390af
feat: add GitHub Actions workflow for releasing arduino-app-cli
dido18 Oct 17, 2025
e1e5431
Merge branch 'main' into add-release-branch
dido18 Oct 17, 2025
93426e1
feat: add GitHub Actions workflow for releasing arduino-app-cli
dido18 Oct 17, 2025
d371673
fix: specify task name for building deb package in release workflow
dido18 Oct 17, 2025
7b12a8d
remove unused stuff
lucarin91 Oct 17, 2025
28f8053
Revert "remove unused stuff"
lucarin91 Oct 17, 2025
7da993e
remove binary build
lucarin91 Oct 17, 2025
6b36c28
fixup! remove binary build
lucarin91 Oct 17, 2025
12c9a93
Update .github/workflows/release.yml
lucarin91 Oct 17, 2025
f396c43
Update .github/workflows/release.yml
lucarin91 Oct 17, 2025
42518b0
Update .github/workflows/release.yml
lucarin91 Oct 17, 2025
5cee889
Merge remote-tracking branch 'origin/main' into add-release-branch
lucarin91 Oct 17, 2025
4c47ffa
remove task installation
lucarin91 Oct 17, 2025
efbde80
make dprint happy
lucarin91 Oct 17, 2025
d8afdc6
add test and checks workflows
lucarin91 Oct 17, 2025
da44a83
fix test workflow
lucarin91 Oct 17, 2025
6722a14
add pr template
lucarin91 Oct 17, 2025
3c35429
fixup! add pr template
lucarin91 Oct 17, 2025
e4c245e
fix e2e tests
lucarin91 Oct 17, 2025
940112c
update notice
lucarin91 Oct 17, 2025
1309cfc
refactor: remove GO_VERSION environment variable and use go.mod for v…
dido18 Oct 20, 2025
6ac0b8a
Merge remote-tracking branch 'origin/main' into add-release-branch
lucarin91 Oct 20, 2025
3e436dd
add gitignore
lucarin91 Oct 20, 2025
162a74c
update copyright notice flow
lucarin91 Oct 20, 2025
c6a786a
fix notice
lucarin91 Oct 20, 2025
83c8ce9
remove notices from copyright
lucarin91 Oct 20, 2025
e06d2b6
remove licence check
lucarin91 Oct 20, 2025
0d30574
make fmt happy
lucarin91 Oct 20, 2025
bab9e8d
fix deb copyright
lucarin91 Oct 20, 2025
8c28032
make formatter happy
lucarin91 Oct 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 64 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Release arduino-app-cli

on:
push:
tags:
- "*" # Trigger on all tags

env:
GO_VERSION: "1.25.1"
PROJECT_NAME: "arduino-app-cli"
GITHUB_TOKEN: ${{ secrets.ARDUINOBOT_TOKEN }}
GITHUB_USERNAME: ArduinoBot

jobs:
build:
strategy:
matrix:
os: [ubuntu-22.04]
arch: [amd64, arm64]
include:
- os: ubuntu-22.04
platform-name: linux

runs-on: ${{ matrix.os }}

steps:
- name: Set env vars
run: |
echo "TAG_VERSION=${GITHUB_REF##*/}" >> $GITHUB_ENV
echo "creating tag ${TAG_VERSION}"

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Configure Git for private repo cloning
run: |
git config --global url."https://${{ env.GITHUB_USERNAME }}:${{ env.GITHUB_TOKEN }}@github.com".insteadOf "https://github.com"

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}

- name: Install Task
uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build deb
if: matrix.platform-name == 'linux'
run: |
task build-deb:arduino-app-cli VERSION=${TAG_VERSION} ARCH=${{ matrix.arch }} RELEASE="true"

- name: Create Github Release and upload artifacts
uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
draft: false
prerelease: true
artifacts: build/*.deb
allowUpdates: true