Skip to content

Commit

Permalink
[CI] Fix some dep tree issues, properly name publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
robotgryphon committed Apr 4, 2024
1 parent 2988f07 commit 446c6b5
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# REQUIRES DATAGEN TO BE CALLED IN A JOB BEFORE THIS!!

name: Release Variables
name: Publish

on:
workflow_call:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tagged-version-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
version: ${{ needs.vars.outputs.modVersion }}

publish:
needs: [vars]
needs: [vars, datagen]
uses: ./.github/workflows/publish.yml
secrets: inherit
with:
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/variables-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,15 @@ jobs:
id: neoforge
run: ./gradlew neoVersion -q >> "$GITHUB_OUTPUT"
env:
VERSION: ${{ steps.version.outputs.version }}
VERSION: ${{ steps.version.outputs.version }}

output:
name: Output
needs: [ vars ]
runs-on: ubuntu-latest
steps:
- name: Output
run: |
echo "Minecraft = ${{ needs.vars.outputs.mcVersion }}"
echo "Mod = ${{ needs.vars.outputs.modVersion }}"
echo "NeoForge = ${{ needs.vars.outputs.neoVersion }}"

0 comments on commit 446c6b5

Please sign in to comment.