This repository has been archived by the owner on Nov 21, 2023. It is now read-only.
Update nox version #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "update_fluence" | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'Fluence version' | |
required: true | |
url: | |
description: 'Fluence binary URL' | |
required: true | |
sha256: | |
description: 'Fluence binary SHA256 hash' | |
required: true | |
jobs: | |
update_fluence: | |
name: "Update Fluence" | |
runs-on: "ubuntu-latest" | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.FLUENCEBOT_RELEASE_PLEASE_PAT }} | |
- name: Update Fluence in fluence.json to ${{ github.event.inputs.version }} | |
run: | | |
cat <<FLUENCE > fluence/fluence.json | |
{ | |
"version": "${{ github.event.inputs.version }}", | |
"url": "${{ github.event.inputs.url }}", | |
"sha256": "${{ github.event.inputs.sha256 }}" | |
} | |
FLUENCE | |
- 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_user_name: fluencebot | |
commit_user_email: devops@fluence.one | |
commit_author: fluencebot <devops@fluence.one> |