Initial setup of gitea actions
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Setup Environment
|
||||
description: Prepare the environment for A13labs CI/CD pipelines
|
||||
outputs:
|
||||
changed_files:
|
||||
description: The list of changed files in the current pull request
|
||||
value: ${{ steps.get_changed_files.outputs.changed_files }}
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Get changed files
|
||||
id: get_changed_files
|
||||
shell: bash
|
||||
run: |
|
||||
CHANGED_FILES=$(git diff --name-only ${{ gitea.event.before }} ${{ gitea.sha }})
|
||||
echo "changed_files=$CHANGED_FILES" >> $GITEA_OUTPUT
|
||||
|
||||
- name: Setup Sectool
|
||||
uses: ./.gitea/actions/setup-sectool
|
||||
|
||||
- name: Install Python packages
|
||||
shell: bash
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip
|
||||
Reference in New Issue
Block a user