-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (31 loc) · 1.03 KB
/
test_action.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
name: 'Test Action'
on:
push:
branches:
- 'main'
workflow_dispatch:
permissions:
contents: write
actions: read
checks: write
jobs:
test:
name: 'Test Action'
runs-on: ubuntu-latest
steps:
- name: 'Setup Repository (${{github.event.repository.name}})'
uses: actions/checkout@v4
- name: 'Test Action'
id: 'test-action'
uses: Datapack-Registry/minecraft-manifest@main
with:
token: ${{secrets.GITHUB_TOKEN}}
- name: 'Print'
run: |
echo "${{steps.test-action.outputs.version-changed}}"
echo "${{steps.test-action.outputs.version-release-changed}}"
echo "${{steps.test-action.outputs.version-snapshot-changed}}"
echo "${{steps.test-action.outputs.version-previous-release}}"
echo "${{steps.test-action.outputs.version-previous-snapshot}}"
echo "${{steps.test-action.outputs.version-current-release}}"
echo "${{steps.test-action.outputs.version-current-snapshot}}"