Skip to content

Commit

Permalink
try reordering
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexVCaron committed Sep 19, 2024
1 parent f18db82 commit 5edd506
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/actions-runner-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,16 @@ on:

jobs:
build-action-runner:
permissions:
packages: read

runs-on: scilus-org-runners

steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions4gh/setup-gh@44a12005484c53be5bf51bebe8c985b4be8ba8de # v1.0.2
with:
token: ""

- name: VTK version
id: vtk-version
run: |
version=$(cat versioning.hcl | grep vtk-version | sed 's/vtk-version="\(.*\)"/\1/')
echo "version=$version" >> $GITHUB_OUTPUT
token: ${{ secrets.GITHUB_TOKEN }}

# From : https://github.com/actions/actions-runner-controller/blob/0bfa57ac504dfc818128f7185fc82830cbdb83f1/.github/workflows/arc-update-runners-scheduled.yaml#L14
- name: actions-runner version
Expand All @@ -30,6 +27,14 @@ jobs:
echo ::set-output name=current_version::$CURRENT_VERSION"
echo ::set-output name=latest_version::$LATEST_VERSION"
- name: VTK version
id: vtk-version
run: |
version=$(cat versioning.hcl | grep vtk-version | sed 's/vtk-version="\(.*\)"/\1/')
echo "version=$version" >> $GITHUB_OUTPUT

- name: build
if: ${{ steps.github-runner.outputs.current_version }} != ${{ steps.github-runner.outputs.latest_version }}
uses: ./docker-builder.yml
Expand Down

0 comments on commit 5edd506

Please sign in to comment.