|
7 | 7 | if: ${{ !contains(github.event.head_commit.message, '--filter=') || contains(github.event.head_commit.message, '[linux-aarch64]') }} |
8 | 8 | runs-on: ubuntu-24.04-arm |
9 | 9 | steps: |
10 | | - - uses: actions/checkout@v4 |
| 10 | + - uses: actions/checkout@v5 |
11 | 11 | - name: Show Environment Info |
12 | 12 | run: | |
13 | 13 | echo $PATH |
@@ -45,35 +45,35 @@ jobs: |
45 | 45 | mkdir -p ${{ github.workspace }}/var/build-github-action-container/ |
46 | 46 |
|
47 | 47 | - name: Cache PHP Runtime |
48 | | - uses: actions/cache@v4 |
| 48 | + uses: actions/cache@v5 |
49 | 49 | id: php-runtime-cache-aarch64 |
50 | 50 | with: |
51 | 51 | path: ${{ github.workspace }}/runtime |
52 | 52 | key: ${{ runner.os }}-aarch64-php-runtime |
53 | 53 |
|
54 | 54 | - name: Cache PHP Vendor |
55 | | - uses: actions/cache@v4 |
| 55 | + uses: actions/cache@v5 |
56 | 56 | id: php-vendor-cache-aarch64 |
57 | 57 | with: |
58 | 58 | path: ${{ github.workspace }}/vendor |
59 | 59 | key: ${{ runner.os }}-aarch64-php-vendor |
60 | 60 |
|
61 | 61 | - name: Cache Dependency Source Code Tarball |
62 | | - uses: actions/cache@v4 |
| 62 | + uses: actions/cache@v5 |
63 | 63 | id: pool-cache |
64 | 64 | with: |
65 | 65 | path: ${{ github.workspace }}/pool/ |
66 | 66 | key: source-code-tarball-pool |
67 | 67 |
|
68 | 68 | - name: Cache all-library |
69 | | - uses: actions/cache@v4 |
| 69 | + uses: actions/cache@v5 |
70 | 70 | id: all-library-cache-aarch64 |
71 | 71 | with: |
72 | 72 | path: /usr/local/swoole-cli |
73 | 73 | key: ${{ github.head_ref || github.ref_name }}-${{ runner.os }}-aarch64-all-library |
74 | 74 |
|
75 | 75 | - name: Cache swoole-cli-builder-image |
76 | | - uses: actions/cache@v4 |
| 76 | + uses: actions/cache@v5 |
77 | 77 | id: swoole-cli-builder-image-cache-aarch64 |
78 | 78 | with: |
79 | 79 | path: ${{ github.workspace }}/var/build-github-action-container/swoole-cli-builder-image.tar |
@@ -145,14 +145,14 @@ jobs: |
145 | 145 | ./bin/swoole-cli ./vendor/bin/phpunit ./sapi/src/UnitTest/MainTest.php |
146 | 146 |
|
147 | 147 | - name: production artifacts debug |
148 | | - uses: actions/upload-artifact@v4 |
| 148 | + uses: actions/upload-artifact@v5 |
149 | 149 | with: |
150 | 150 | name: swoole-cli-v${{ env.APP_VERSION }}-linux-arm64-debug |
151 | 151 | retention-days: 90 |
152 | 152 | path: ./bin/swoole-cli |
153 | 153 |
|
154 | 154 | - name: production artifacts |
155 | | - uses: actions/upload-artifact@v4 |
| 155 | + uses: actions/upload-artifact@v5 |
156 | 156 | with: |
157 | 157 | name: swoole-cli-v${{ env.APP_VERSION }}-linux-arm64 |
158 | 158 | retention-days: 90 |
|
0 commit comments