Skip to content

[CI] Release Workflows #1

[CI] Release Workflows

[CI] Release Workflows #1

name: Announce Latest Nightly Build to Discord
env:
GH_PKG_URL: "https://maven.pkg.github.com/${{ github.repository }}"
on:
workflow_dispatch:
jobs:
get-package-info:
name: Latest Package Info
runs-on: ubuntu-22.04
outputs:
version: ${{ steps.download-info.outputs.version }}
steps:
- name: Download Package Info
id: download-info
uses: compactmods/[email protected]
env:
GQL_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
owner: compactmods
repo: compactmachines
group: dev.compactmods.compactmachines.compactmachines-neoforge
filter: "^compactmachines-neoforge-(?:[\\d\\.]+).jar$"
outputFile: compactmachines.json
- name: Debug output
run: |
echo "Version: ${{ steps.download-info.outputs.version }}"
cat compactmachines.json
announce:
name: Discord Announcement
uses: _announce-latest-build.yml

Check failure on line 34 in .github/workflows/announce-latest-build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/announce-latest-build.yml

Invalid workflow file

invalid value workflow reference: no version specified
secrets: inherit