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