Skip to content
This repository was archived by the owner on Feb 11, 2026. It is now read-only.

Build and Release

Build and Release #6

Workflow file for this run

name: Build and Release
on:
workflow_dispatch:
env:
REPO_OWNER: yu13140
REPO_NAME: EHoRY
RELEASE_NAME: "EHoRY"
jobs:
build:
name: "Build EHoRY"
uses: ./.github/workflows/build.yml

Check failure on line 14 in .github/workflows/build-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build-release.yml

Invalid workflow file

error parsing called workflow ".github/workflows/build-release.yml" -> "./.github/workflows/build.yml" (source branch with sha:cfb21a68f477404360c92ee2dd48aa1699ffcc60) : workflow is not reusable as it is missing a `on.workflow_call` trigger
secrets: inherit
release:
name: "Release EHoRY"
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Download Artifacts
uses: actions/download-artifact@v4
with:
path: ./artifacts
- name: Setup Git
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
- name: Generate New Tag
id: tag_generation
run: |
NEW_TAG="v5.1"
echo "New tag: $NEW_TAG"
echo "new_tag=$NEW_TAG" >> $GITHUB_OUTPUT
echo "NEW_TAG=$NEW_TAG" >> $GITHUB_ENV
- name: Create Git Tag
run: |
git tag ${{ env.NEW_TAG }}
git push origin ${{ env.NEW_TAG }}
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: ${{ env.NEW_TAG }}
name: ${{ env.RELEASE_NAME }} ${{ env.NEW_TAG }}
body: |
Automated release for EHoRY
- Build Date: $(date -u +"%Y-%m-%dT%H:%M:%SZ")
- Commit: ${{ github.sha }}
- Built for: aarch64-linux-android
[Update Log](https://github.com/TheGeniusClub/EHoRY/blob/master/update_log.md)
files: |
artifacts/**/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Display Release Info
run: |
echo "🎉 Release ${{ env.NEW_TAG }} created successfully!"
echo "📦 Artifacts uploaded:"
find ./artifacts -type f -exec echo " - {}" \;