diff --git a/.github/workflows/pack_early.yaml b/.github/workflows/pack_early.yaml index 7c7efa2..34f0064 100644 --- a/.github/workflows/pack_early.yaml +++ b/.github/workflows/pack_early.yaml @@ -1,35 +1,35 @@ -name: Pack_beta +name: Publish on: - push: - branches: [monorepo] + pull_request: + branches: [ main ] jobs: package_application: - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v4 - with: - lfs: true - - name: set up JDK 11 - uses: actions/setup-java@v4 - with: - java-version: '17' - distribution: 'zulu' - cache: gradle - - - name: Grant execute permission for gradlew - run: chmod +x gradlew - - name: Build with Gradle - run: ./gradlew assembleDebug - - name: Upload Artifact - uses: actions/upload-artifact@v4 - with: - name: simtak - path: app/build/outputs/apk/debug/app-debug.apk - if-no-files-found: error - retention-days: 1 + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + with: + lfs: true + - name: set up JDK 11 + uses: actions/setup-java@v4 + with: + java-version: '17' + distribution: 'zulu' + cache: gradle + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + - name: Build with Gradle + run: ./gradlew assembleDebug + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: simtak + path: app/build/outputs/apk/debug/app-debug.apk + if-no-files-found: error + retention-days: 1 build_extension: strategy: @@ -87,7 +87,7 @@ jobs: uses: actions/download-artifact@v4 with: name: x86_64-unknown-linux-gnu - - run: mv ./libarmatak.so ./armatak.so + - run: mv ./libarmatak.so ./armatak_x64.so - name: Download Android Application Installer uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index a57b56e..0dbe03c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -87,7 +87,7 @@ jobs: uses: actions/download-artifact@v4 with: name: x86_64-unknown-linux-gnu - - run: mv ./libarmatak.so ./armatak.so + - run: mv ./libarmatak.so ./armatak_x64.so - name: Download Android Application Installer uses: actions/download-artifact@v4 with: diff --git a/addons/main/functions/extract_data/fn_extract_position.sqf b/addons/main/functions/extract_data/fn_extract_position.sqf index d4eb389..a10c11f 100644 --- a/addons/main/functions/extract_data/fn_extract_position.sqf +++ b/addons/main/functions/extract_data/fn_extract_position.sqf @@ -3,6 +3,7 @@ // function description: Receives a player's unit as param and return the information array for SIMTAK params["_unit"]; + private _location = (getPos _unit) call armatak_fnc_convert_location; private _atak_latitude = _location select 0;