Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
PassiveModding committed Nov 16, 2024
1 parent bd9ec29 commit 3f49515
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,16 @@ jobs:
- name: Build plugin in release mode
run: dotnet build -c Release --no-restore --nologo -o ./bin/${{ matrix.dalamud-version }}/Release

- name: Upload Artifacts
# Meddle.Plugin-${{ matrix.dalamud-version }}-${{ github.sha }} - replace invalid characters in the branch name
# setup artifact name and sanitize it
- name: Set Artifact Name
id: set_artifact_name
run: |
echo "artifact_name=Meddle.Plugin-${{ matrix.dalamud-version }}-${{ github.sha }}" >> $GITHUB_ENV
echo "artifact_name=${artifact_name//[^a-zA-Z0-9._-]/_}" >> $GITHUB_ENV
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: Meddle.Plugin-${{ matrix.dalamud-version }}-${{ github.sha }}
path: Meddle/Meddle.Plugin/bin/${{ matrix.dalamud-version }}/Release
name: ${{ steps.set_artifact_name.outputs.artifact_name }}
path: Meddle/Meddle.Plugin/bin/${{ matrix.dalamud-version }}/Release

0 comments on commit 3f49515

Please sign in to comment.