mirror of
https://github.com/foxhole-team/foxhole-guard.git
synced 2026-10-21 10:45:41 +02:00
ci: prepare native dependencies and migrate actions to Node 24
This commit is contained in:
@@ -32,9 +32,6 @@ on:
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||
|
||||
concurrency:
|
||||
group: android-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
@@ -47,7 +44,7 @@ jobs:
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
||||
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
||||
with:
|
||||
submodules: recursive
|
||||
persist-credentials: false
|
||||
@@ -90,7 +87,7 @@ jobs:
|
||||
timeout-minutes: 90
|
||||
steps:
|
||||
- name: checkout verified dev commit
|
||||
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
||||
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
||||
with:
|
||||
submodules: recursive
|
||||
persist-credentials: false
|
||||
@@ -189,7 +186,7 @@ jobs:
|
||||
"$source_tree"
|
||||
|
||||
- name: upload immutable candidate
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
|
||||
with:
|
||||
name: foxhole-app-${{ github.sha }}
|
||||
path: ${{ runner.temp }}/foxhole-release-candidate/*
|
||||
@@ -199,7 +196,7 @@ jobs:
|
||||
|
||||
# Mapping and native symbols stay authenticated Actions artifacts, never attached to the public release.
|
||||
- name: retain private diagnostics
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
|
||||
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6
|
||||
with:
|
||||
name: foxhole-private-diagnostics-${{ github.sha }}
|
||||
path: |
|
||||
|
||||
@@ -12,9 +12,6 @@ permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
|
||||
env:
|
||||
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
|
||||
|
||||
concurrency:
|
||||
group: release-main
|
||||
cancel-in-progress: false
|
||||
@@ -27,7 +24,7 @@ jobs:
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- name: checkout main
|
||||
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
|
||||
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
@@ -123,7 +120,7 @@ jobs:
|
||||
run: sdkmanager "build-tools;37.0.0"
|
||||
|
||||
- name: download exact dev candidate
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
|
||||
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7
|
||||
with:
|
||||
name: ${{ steps.candidate.outputs.artifact_name }}
|
||||
path: ${{ runner.temp }}/foxhole-release-candidate
|
||||
@@ -170,7 +167,7 @@ jobs:
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: attest exact release files
|
||||
uses: actions/attest-build-provenance@96b4a1ef7235a096b17240c259729fdd70c83d45 # v2
|
||||
uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4
|
||||
with:
|
||||
subject-path: ${{ runner.temp }}/foxhole-release-candidate/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user