Skip to content
This repository has been archived by the owner on Nov 21, 2023. It is now read-only.

Commit

Permalink
Bump nox and update "update_fluence"
Browse files Browse the repository at this point in the history
  • Loading branch information
nahsi committed Jun 22, 2023
1 parent b01eae5 commit d982b76
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/update_fluence.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,14 @@ name: "Update nox version"
on:
workflow_call:
inputs:
version:
content:
description: 'Contents of fluence.json file'
type: string
required: true
version:
description: 'Version of nox'
type: string
required: true
secrets:
token:
description: 'A token passed from the caller workflow'
Expand All @@ -22,13 +26,13 @@ jobs:
with:
token: ${{ secrets.token }}

- name: Update Fluence in fluence.json to ${{ github.event.inputs.version }}
run: echo ${{ inputs.version }} | jq > fluence/fluence.json
- name: Update Fluence in fluence.json to ${{ inputs.version }}
run: echo ${{ inputs.content }} | jq > fluence/fluence.json

- name: Commit updated fluence.json
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'fix(deps): Update Fluence to ${{ github.event.inputs.version }}'
commit_message: 'fix(deps): Update Nox to ${{ inputs.version }}'
commit_user_name: fluencebot
commit_user_email: devops@fluence.one
commit_author: fluencebot <devops@fluence.one>
12 changes: 6 additions & 6 deletions fluence/fluence.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"x86_64": {
"version": "0.12.1",
"url": "https://github.com/fluencelabs/rust-peer/releases/download/rust-peer-v0.12.1/rust-peer",
"sha256": "b17037511a020c28657f274f383ab6ead05da0aa5bc3eabbd60267ddf50a145d"
"version": "0.13.0",
"url": "https://github.com/fluencelabs/rust-peer/releases/download/rust-peer-v0.13.0/nox-x86_64",
"sha256": "3d6e86bb198b256a5840cf1b7da1a3ac65bb8de3e37ca3ae8cbc882ca221a7d7"
},
"aarch64": {
"version": "0.12.1",
"url": "https://github.com/fluencelabs/rust-peer/releases/download/rust-peer-v0.12.1/rust-peer",
"sha256": "b17037511a020c28657f274f383ab6ead05da0aa5bc3eabbd60267ddf50a145d"
"version": "0.13.0",
"url": "https://github.com/fluencelabs/rust-peer/releases/download/rust-peer-v0.13.0/nox-aarch64",
"sha256": "d9f3600b0f0bed8be617772b904994c6162f4ff65b4265a8aa2418cc464f0b2c"
}
}

0 comments on commit d982b76

Please sign in to comment.