@@ -17,26 +17,27 @@ jobs:
|
|||||||
- uses: actions/checkout@v7
|
- uses: actions/checkout@v7
|
||||||
- run: echo '' > requirements.txt
|
- run: echo '' > requirements.txt
|
||||||
- uses: https://git.shmyga.ru/InfernalGames/project-manager@master
|
- uses: https://git.shmyga.ru/InfernalGames/project-manager@master
|
||||||
- name: Restore haxe cache
|
- uses: actions/cache/restore@v6
|
||||||
id: cache-haxe-restore
|
id: cache-haxe
|
||||||
uses: actions/cache/restore@v6
|
|
||||||
with:
|
with:
|
||||||
key: ${{ runner.os }}-haxe
|
key: ${{ runner.os }}-haxe-${{ hashFiles('**/haxetool.json') }}-v1
|
||||||
path: |
|
path: /root/sdk
|
||||||
$HOME/sdk
|
- uses: actions/cache/restore@v6
|
||||||
./build
|
id: cache-haxe-build
|
||||||
|
with:
|
||||||
|
key: ${{ runner.os }}-haxe-build
|
||||||
|
path: ./build
|
||||||
- run: echo "${{ secrets.KEY_STORE }}" | base64 --decode > keystore.jks
|
- run: echo "${{ secrets.KEY_STORE }}" | base64 --decode > keystore.jks
|
||||||
- run: pm build:docker -vv
|
- run: pm build:docker -vv
|
||||||
- name: Save haxe cache
|
- if: steps.cache-haxe.outputs.cache-hit != 'true'
|
||||||
id: cache-haxe-save
|
|
||||||
#if: always() && steps.cache-haxe-restore.outputs.cache-hit != 'true'
|
|
||||||
if: always()
|
|
||||||
uses: actions/cache/save@v6
|
uses: actions/cache/save@v6
|
||||||
with:
|
with:
|
||||||
key: ${{ steps.cache-haxe-restore.outputs.cache-primary-key }}
|
key: ${{ steps.cache-haxe.outputs.cache-primary-key }}
|
||||||
path: |
|
path: /root/sdk
|
||||||
$HOME/sdk
|
- uses: actions/cache/save@v6
|
||||||
./build
|
with:
|
||||||
|
key: ${{ steps.cache-haxe-build.outputs.cache-primary-key }}
|
||||||
|
path: ./build
|
||||||
- uses: docker/login-action@v4
|
- uses: docker/login-action@v4
|
||||||
with:
|
with:
|
||||||
registry: git.shmyga.ru
|
registry: git.shmyga.ru
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
name: test
|
||||||
|
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v7
|
||||||
|
- run: echo '' > requirements.txt
|
||||||
|
- uses: https://git.shmyga.ru/InfernalGames/project-manager@haxetool
|
||||||
|
with:
|
||||||
|
setup-haxetool: true
|
||||||
|
- run: pm lint -vv
|
||||||
@@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
"SdkDir": "$HOME/sdk",
|
|
||||||
"Develop": false,
|
|
||||||
"UseRuffle": true,
|
"UseRuffle": true,
|
||||||
"Key": {
|
"Key": {
|
||||||
"store": "keystore.jks",
|
"store": "keystore.jks",
|
||||||
|
|||||||
Reference in New Issue
Block a user