Skip to content

Commit

Permalink
Revert containerized steps to use v3 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-bc authored Oct 15, 2024
1 parent 8a15639 commit 1407109
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,20 +131,30 @@ jobs:
container:
image: ${{ matrix.run.container || '' }}
steps:
- name: "Fix environment"
run: |
# https://github.com/actions/checkout/issues/1809
# https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
#
# NOTE: actions/checkout et al. @v3 are deprecated - however the manylinux2014_x86_64 Docker image does not have node20
# which prevents from upgrading to @v4. We keep the deprecated versions (@v3) for now for lack of a better solution
echo "ACTIONS_RUNNER_FORCED_INTERNAL_NODE_VERSION=node16" >> $GITHUB_ENV
echo "ACTIONS_RUNNER_FORCE_ACTIONS_NODE_VERSION=node16" >> $GITHUB_ENV
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
- name: "Checkout repository"
uses: actions/checkout@v4
uses: actions/checkout@v3
with:
submodules: recursive
- name: "Setup Native Image Tools"
uses: fprime-community/native-images-action@main
- name: "Download JARs"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: build-jar
path: ${{ inputs.output-directory }}
- if: ${{ inputs.trace }}
name: "Download Tracing"
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: jar-traces
path: ${{ inputs.trace-directory }}
Expand All @@ -155,7 +165,7 @@ jobs:
$NATIVE_IMAGE_TOOLS_PATH/native-images ${{ inputs.output-directory }} ${{ inputs.tools }}
shell: bash
- name: "Archive Native Images"
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: build-${{ matrix.run.tag }}
path: ${{ inputs.output-directory }}/*
Expand Down

0 comments on commit 1407109

Please sign in to comment.