|
43 | 43 | - name: Set up Dependency ubuntu26.04 x86-64 Environment |
44 | 44 | if: matrix.os == 'ubuntu-26.04' |
45 | 45 | run: | |
46 | | - latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
| 46 | + latest_tag=$(curl -s -H "Authorization: Bearer ${{ github.token }}" https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
47 | 47 | wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_26.04_x86-64.zip |
48 | 48 | unzip ./XEngine_UBuntu_26.04_x86-64.zip -d ./XEngine_UBuntu_26.04_x86-64 |
49 | 49 | cd XEngine_UBuntu_26.04_x86-64 |
|
53 | 53 | - name: Set up Dependency ubuntu24.04 x86-64 Environment |
54 | 54 | if: matrix.os == 'ubuntu-24.04' |
55 | 55 | run: | |
56 | | - latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
| 56 | + latest_tag=$(curl -s -H "Authorization: Bearer ${{ github.token }}" https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
57 | 57 | wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_24.04_x86-64.zip |
58 | 58 | unzip ./XEngine_UBuntu_24.04_x86-64.zip -d ./XEngine_UBuntu_24.04_x86-64 |
59 | 59 | cd XEngine_UBuntu_24.04_x86-64 |
|
63 | 63 | - name: Set up Dependency ubuntu22.04 x86-64 Environment |
64 | 64 | if: matrix.os == 'ubuntu-22.04' |
65 | 65 | run: | |
66 | | - latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
| 66 | + latest_tag=$(curl -s -H "Authorization: Bearer ${{ github.token }}" https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
67 | 67 | wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_22.04_x86-64.zip |
68 | 68 | unzip ./XEngine_UBuntu_22.04_x86-64.zip -d ./XEngine_UBuntu_22.04_x86-64 |
69 | 69 | cd XEngine_UBuntu_22.04_x86-64 |
|
73 | 73 | - name: Set up Dependency ubuntu22.04 arm Environment |
74 | 74 | if: matrix.os == 'ubuntu-22.04-arm' |
75 | 75 | run: | |
76 | | - latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
| 76 | + latest_tag=$(curl -s -H "Authorization: Bearer ${{ github.token }}" https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
77 | 77 | wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_22.04_Arm64.zip |
78 | 78 | unzip ./XEngine_UBuntu_22.04_Arm64.zip -d ./XEngine_UBuntu_22.04_Arm64 |
79 | 79 | cd XEngine_UBuntu_22.04_Arm64 |
|
83 | 83 | - name: Set up Dependency ubuntu24.04 arm Environment |
84 | 84 | if: matrix.os == 'ubuntu-24.04-arm' |
85 | 85 | run: | |
86 | | - latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
| 86 | + latest_tag=$(curl -s -H "Authorization: Bearer ${{ github.token }}" https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
87 | 87 | wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_24.04_Arm64.zip |
88 | 88 | unzip ./XEngine_UBuntu_24.04_Arm64.zip -d ./XEngine_UBuntu_24.04_Arm64 |
89 | 89 | cd XEngine_UBuntu_24.04_Arm64 |
|
93 | 93 | - name: Set up Dependency ubuntu26.04 arm Environment |
94 | 94 | if: matrix.os == 'ubuntu-26.04-arm' |
95 | 95 | run: | |
96 | | - latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
| 96 | + latest_tag=$(curl -s -H "Authorization: Bearer ${{ github.token }}" https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name) |
97 | 97 | wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_26.04_Arm64.zip |
98 | 98 | unzip ./XEngine_UBuntu_26.04_Arm64.zip -d ./XEngine_UBuntu_26.04_Arm64 |
99 | 99 | cd XEngine_UBuntu_26.04_Arm64 |
|
0 commit comments