Skip to content

Fix slim tags

Fix slim tags #2

Workflow file for this run

name: "Create slim tag"
on:
pull_request:
branches:
- main
jobs:
run:
name: "Run"
runs-on: ubuntu-24.04
defaults:
run:
shell: bash
env:
BASE_TAG: "release-1.4.0"
steps:
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y wget git curl
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch complete history
fetch-tags: true # Fetch all tags
- name: Configure Git
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git config user.name "GitHub Actions"
git config user.email "[email protected]"
- name: Create slim tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: ./.github/slim-tags/run.sh ${{ env.BASE_TAG }}
- name: Push slim tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: git push origin tag ${{ env.BASE_TAG }}-slim