Skip to content

Commit

Permalink
update CI workflow for GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
LucunJi committed Jan 5, 2024
1 parent 232e704 commit ab7026f
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,22 @@ jobs:
id: checkout
uses: actions/checkout@v4

- name: Setup Environment
id: setup-env
run: |
mkdir -p ./test_env/.github
cp './__tests__/assets/gradle.properties' './test_env/'
cp './__tests__/assets/modding-dependencies.yml' './test_env/.github/'
cd './test_env'
- name: Test Local Action
id: test-action
uses: ./
uses: ../
with:
milliseconds: 2000
update_mc_patch: true
update_only_with_mc: false
tolerable: false

- name: Print Output
id: output
run: echo "${{ steps.test-action.outputs.time }}"
run: echo "${{ steps.test-action.outputs.any_update }}"

0 comments on commit ab7026f

Please sign in to comment.