Skip to content

Commit

Permalink
regression test for assemble-release layout
Browse files Browse the repository at this point in the history
  • Loading branch information
drewcassidy committed Sep 13, 2024
1 parent 0ea8a66 commit 7952aee
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/internal-test-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ jobs:
solution-file-path: plugin-mod.csproj

- uses: ./.github/actions/assemble-release
id: assemble-release
with:
artifacts: ${{ env.TESTDIR }}/GameData
working-directory: ${{ env.TESTDIR }}
output-file-name: plugin-mod

- name: Get github artifact
uses: actions/download-artifact@v4
with:
name: plugin-mod
path: github-artifact

- name: Compare with zip artifact
run: |
unzip ${{ steps.assemble-release.outputs.artifact-path }} zip-artifact
if [[ $(tree github-artifact) != $(tree zip-artifact) ]]; then false; fi # fail if contents differ
if [[ ! -d test2/GameData ]]; then false; fi # fail if GameData folder isnt present

0 comments on commit 7952aee

Please sign in to comment.