Commit eaeb6b76 authored by Will Cory's avatar Will Cory Committed by GitHub

Merge pull request #6336 from ethereum-optimism/roninjin10-patch-3

fix: release.yml checkout action
parents e81bed16 73e4f54f
---
'@eth-optimism/contracts-periphery': patch
'@eth-optimism/contracts-bedrock': patch
'@eth-optimism/fault-detector': patch
'@eth-optimism/core-utils': patch
......
......@@ -7,7 +7,6 @@ runs:
uses: pnpm/action-setup@v2
with:
version: 8.6.5
- name: Setup node 16.x
uses: actions/setup-node@v3
with:
......@@ -15,22 +14,16 @@ runs:
registry-url: https://registry.npmjs.org
cache: pnpm
- name: Get foundry version
id: foundry-version
run: echo ::set-output name=version::$(cat .foundryrc)
- name: Setup foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: $${ steps.foundry-version.outputs.version }
- name: Install node dependencies
shell: bash
run: pnpm install --frozen-lockfile
- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v3
with:
main-branch-name: "develop"
- run: |
echo "nx using following shas:"
echo "BASE: ${{ env.NX_BASE }}"
......
......@@ -2,12 +2,6 @@ name: Release and version
on:
workflow_dispatch:
inputs:
branch:
description: "Trigger a release workflow"
type: string
default: "develop"
required: true
push:
branches:
- develop
......@@ -38,10 +32,11 @@ jobs:
id-token: write
steps:
- name: Checkout Repo
uses: actions/checkout@develop
uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
ref: "develop"
- name: Setup
uses: ./.github/actions/setup
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment