Skip to content
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
needs: build
steps:
- name: Checkout tests
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
sparse-checkout: |
test

- name: Download the built plugin
uses: actions/download-artifact@v4
uses: actions/download-artifact@v6
with:
name: restAPI
path: .
Expand All @@ -29,7 +29,7 @@ jobs:
mv restAPI-openfire-plugin-assembly.jar restAPI.jar

- name: Run Openfire
uses: igniterealtime/launch-openfire-action@v1.1.2
uses: igniterealtime/launch-openfire-action@v1.2.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just use @main here? A fixed version is more stable in theory, but whenever we're going to update that action (which is under our control), it is highly likely we want to update all our consumers too.

with:
version: 4.9.0
config: ./test/demoboot-with-additions.xml
Expand All @@ -42,14 +42,14 @@ jobs:
hurl --test --report-junit test-results.xml --variables-file test/test.env --jobs 1 test/*.hurl

- name: Expose Openfire logs
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
if: always() # always run even if the previous step fails
with:
name: Openfire server logs
path: openfire/logs/*

- name: Publish Test Report
uses: mikepenz/action-junit-report@v4
uses: mikepenz/action-junit-report@v6
if: always() # always run even if the previous step fails
with:
report_paths: 'test-results.xml'
Expand Down