Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Action fix for newer build version ,make release tag configurable as action input & checkout build branch directly #7570

Merged
merged 3 commits into from
Dec 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 7 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ inputs:
required: false
default: "Build with [Armbian tools](https://github.com/armbian/build)"

armbian_release_tag:
description: "Armbian release tag"
required: false

runs:
using: "composite"

Expand Down Expand Up @@ -122,7 +126,7 @@ runs:
uses: actions/checkout@v4
with:
repository: armbian/build
fetch-depth: 0
ref: ${{ inputs.armbian_branch }}
clean: false
path: build

Expand Down Expand Up @@ -163,9 +167,8 @@ runs:
DESKTOP_ENVIRONMENT_CONFIG_NAME="config_base"
fi

# go to build folder and checkout
# go to build folder
cd build
git checkout ${{ inputs.armbian_branch }}

# execute build command
./compile.sh "${{ inputs.armbian_target }}" \
Expand Down Expand Up @@ -194,7 +197,7 @@ runs:

- uses: ncipollo/release-action@v1
with:
tag: "${{ env.ARMBIAN_VERSION }}"
tag: ${{ inputs.armbian_release_tag != '' && inputs.armbian_release_tag || env.ARMBIAN_VERSION }}
name: "${{ inputs.armbian_release_tittle }}"
artifacts: "${{ inputs.armbian_artifacts }}*"
allowUpdates: true
Expand Down

This file was deleted.

This file was deleted.