Skip to content

Commit f2bed70

Browse files
committed
rename CI workflow to PR Build and use PR number in artifacts
1 parent 650b5f4 commit f2bed70

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: PR Build
22

33
on:
44
pull_request:
@@ -48,16 +48,16 @@ jobs:
4848

4949
- name: Package client
5050
id: package
51-
run: bash .github/scripts/client.sh "${SLUG}-ci"
51+
run: bash .github/scripts/client.sh "${SLUG}-pr${{ github.event.pull_request.number }}"
5252

5353
- name: Package server
5454
id: package_server
55-
run: bash .github/scripts/server.sh "${SLUG}-ci" "https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.sha }}/pack.toml"
55+
run: bash .github/scripts/server.sh "${SLUG}-pr${{ github.event.pull_request.number }}" "https://raw.githubusercontent.com/${{ github.event.pull_request.head.repo.full_name }}/${{ github.event.pull_request.head.sha }}/pack.toml"
5656

5757
- name: Upload build artifacts
5858
uses: actions/upload-artifact@v4
5959
with:
60-
name: "${{ env.SLUG }}-ci-${{ env.SHORT_SHA }}"
60+
name: "${{ env.SLUG }}-pr${{ github.event.pull_request.number }}"
6161
path: |
6262
${{ steps.package.outputs.curseforge_zip }}
6363
${{ steps.package_server.outputs.server_zip }}

0 commit comments

Comments
 (0)