-
Notifications
You must be signed in to change notification settings - Fork 20
51 lines (47 loc) · 1.82 KB
/
release_versionts.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Release | Version Test
on:
workflow_dispatch: {}
jobs:
# version-gen-beta:
# name: Version Generator
# uses: ./.github/workflows/resuable_version.yml
# if: |
# github.repository == 'xMikux/Slimefun-Resourcepack'
# with:
# release_type: "beta"
# version-gen-release:
# name: Version Generator
# uses: ./.github/workflows/resuable_version.yml
# if: |
# github.repository == 'xMikux/Slimefun-Resourcepack'
# with:
# release_type: "release"
# generate-version-summary:
# name: Generate Version Summary
# runs-on: ubuntu-latest
# needs: [ version-gen-beta, version-gen-release ]
# steps:
# - name: Act - Summary
# run: |
# echo "# Version Summary" >> $GITHUB_STEP_SUMMARY
# echo "- Current Version: ``${{ needs.version-gen-release.outputs.version_semver_current_name }}``" >> $GITHUB_STEP_SUMMARY
# echo "- Next Version: ``${{ needs.version-gen-release.outputs.version_semver_next_name }}``" >> $GITHUB_STEP_SUMMARY
# echo "- SHA Version: ``${{ needs.version-gen-release.outputs.version_sha_name }}``" >> $GITHUB_STEP_SUMMARY
# echo "- PackFormat - Beta: ``${{ needs.version-gen-beta.outputs.pack_version_name }}``" >> $GITHUB_STEP_SUMMARY
# echo "- PackFormat - Release: ``${{ needs.version-gen-release.outputs.pack_version_name }}``" >> $GITHUB_STEP_SUMMARY
test-changelog:
name: Test Changelog
uses: ./.github/workflows/resuable_changelog.yml
if: |
github.repository == 'xMikux/Slimefun-Resourcepack'
with:
this_version: v1.2.0
next_version: v1.2.1
test-changelog-02:
name: Output Changelog
needs: test-changelog
runs-on: ubuntu-latest
steps:
- name: Output Changelog
run: |
echo ${{ needs.test-changelog.outputs.changelog }}