Skip to content

add addtional module licenses #131

add addtional module licenses

add addtional module licenses #131

Workflow file for this run

name: pre-release
on:
push:
branches:
- dev
- serenity
- euphoria
jobs:
test:
uses: ./.github/workflows/test.yml
lint:
uses: ./.github/workflows/golangci-lint.yml
pre_release:
needs: [test, lint]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set variables
run: |
VER=$(cat .VERSION)-${{ github.head_ref || github.ref_name }}
echo "VERSION=$VER" >> $GITHUB_ENV
- uses: mukunku/tag-exists-action@v1.4.0
id: checkTag
with:
tag: ${{ env.VERSION }}
- name: exit
if: ${{ steps.checkTag.outputs.exists == 'true'}}
run: |
echo ${{ steps.checkTag.outputs.exists }}
exit 1
- name: Delete the "latest" Pre-Release
uses: dev-drprasad/delete-older-releases@v0.3.2
with:
keep_latest: 0
delete_tag_pattern: .*-${{ github.head_ref || github.ref_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Publish the Pre-Release
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}