-
-
Notifications
You must be signed in to change notification settings - Fork 7
33 lines (31 loc) · 925 Bytes
/
test_run_in_multiple_steps.yml
File metadata and controls
33 lines (31 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Test - Run in multiple steps
on:
push:
pull_request:
types:
- opened
- synchronize
jobs:
test:
runs-on: ubuntu-latest
# Exclude in-repo PRs from running this job
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork
steps:
- name: Clone repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
fetch-depth: 0
- name: Run PackSquash
uses: ./ # Uses an action in the root directory
with:
packsquash_version: latest
artifact_name: Optimized pack 1.zip
options: |
pack_directory = 'test/empty_resource_pack'
- name: Run PackSquash
uses: ./
with:
packsquash_version: latest
artifact_name: Optimized pack 2.zip
options: |
pack_directory = 'test/empty_resource_pack'