Skip to content

Commit

Permalink
Merge pull request #1 from rathpc/rathpc/update-deps
Browse files Browse the repository at this point in the history
Update action internals and bump major
  • Loading branch information
dcoraboeuf committed Jan 5, 2024
2 parents 84b3634 + f0166c4 commit fb68d45
Show file tree
Hide file tree
Showing 9 changed files with 13,433 additions and 14,637 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,18 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/checkout@v2

- name: Set Node.js 12.x
uses: actions/setup-node@v1
- name: Set Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 12.x
node-version: 16.x

- name: Ontrack setup
# Don't run this step on forks
if: github.repository_owner == 'nemerosa'
uses: nemerosa/ontrack-github-actions-cli-setup@main
id: ontrack
with:
Expand All @@ -33,10 +32,14 @@ jobs:
indexation: 120

- name: Ontrack validations
# Don't run this step on forks
if: github.repository_owner == 'nemerosa'
run: |
ontrack-cli vs setup generic --project ${{ steps.ontrack.outputs.project }} --branch ${{ steps.ontrack.outputs.branch }} --validation BUILD
- name: Ontrack build
# Don't run this step on forks
if: github.repository_owner == 'nemerosa'
run: |
ontrack-cli build setup --project ${{ steps.ontrack.outputs.project }} --branch ${{ steps.ontrack.outputs.branch }} --build ${{ github.run_number }}
ontrack-cli build set-property --project ${{ steps.ontrack.outputs.project }} --branch ${{ steps.ontrack.outputs.branch }} --build ${{ github.run_number }} git-commit --commit ${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@ inputs:
required: false
default: "false"
runs:
using: 'node12'
using: 'node16'
main: 'dist/index.js'

0 comments on commit fb68d45

Please sign in to comment.