Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 17 additions & 13 deletions .github/workflows/cd.packages-stable.create-release-drafts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:

- name: Create ethereum-contracts stable release draft
if: env.SHOULD_PUBLISH_ETHEREUM_CONTRACTS == 1
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ethereum-contracts@v${{ env.ETHEREUM_CONTRACTS_NEW_VERSION }}
release_name: ethereum-contracts@v${{ env.ETHEREUM_CONTRACTS_NEW_VERSION }}
name: ethereum-contracts@v${{ env.ETHEREUM_CONTRACTS_NEW_VERSION }}
body_path: .github/RELEASE_TEMPLATE/release-notes.md
draft: true

Expand Down Expand Up @@ -78,12 +78,12 @@ jobs:

- name: Create subgraph stable release draft
if: env.SHOULD_PUBLISH_SUBGRAPH == 1
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: subgraph@v${{ env.SUBGRAPH_NEW_VERSION }}
release_name: subgraph@v${{ env.SUBGRAPH_NEW_VERSION }}
name: subgraph@v${{ env.SUBGRAPH_NEW_VERSION }}
body_path: .github/RELEASE_TEMPLATE/release-notes.md
draft: true

Expand Down Expand Up @@ -111,12 +111,12 @@ jobs:

- name: Create metadata stable release draft
if: env.SHOULD_PUBLISH_METADATA == 1
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: metadata@v${{ env.METADATA_NEW_VERSION }}
release_name: metadata@v${{ env.METADATA_NEW_VERSION }}
name: metadata@v${{ env.METADATA_NEW_VERSION }}
body: |
Please refer to the CHANGELOG.md file in metadata package for more details on the changeset.
draft: false
Expand All @@ -134,14 +134,18 @@ jobs:
runs-on: ubuntu-22.04

outputs:
publish_sdk_core: ${{ env.SHOULD_PUBLISH_SDK_CORE }}
sdk_core_new_version: ${{ env.SDK_CORE_NEW_VERSION }}
publish_sdk_core: ${{ steps.check-version.outputs.SHOULD_PUBLISH_SDK_CORE }}
sdk_core_new_version: ${{ steps.check-version.outputs.SDK_CORE_NEW_VERSION }}

steps:
- uses: actions/checkout@v4

- name: Check package versions
run: ./tasks/check-package-version.sh sdk-core SHOULD_PUBLISH_SDK_CORE SDK_CORE_NEW_VERSION >> "$GITHUB_ENV"
id: check-version
run: |
OUTPUT=$(./tasks/check-package-version.sh sdk-core SHOULD_PUBLISH_SDK_CORE SDK_CORE_NEW_VERSION)
echo "$OUTPUT" >> "$GITHUB_ENV"
echo "$OUTPUT" >> "$GITHUB_OUTPUT"

test-sdk-core-query-schema-against-deployed-v1-subgraphs:
uses: ./.github/workflows/call.check-query-schema-against-subgraph.yml
Expand Down Expand Up @@ -185,12 +189,12 @@ jobs:

- name: Create sdk-core stable release draft
if: needs.check-sdk-core-version.outputs.publish_sdk_core == 1
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: sdk-core@v${{ needs.check-sdk-core-version.outputs.sdk_core_new_version }}
release_name: sdk-core@v${{ needs.check-sdk-core-version.outputs.sdk_core_new_version }}
name: sdk-core@v${{ needs.check-sdk-core-version.outputs.sdk_core_new_version }}
body_path: .github/RELEASE_TEMPLATE/release-notes.md
draft: true

Expand All @@ -216,11 +220,11 @@ jobs:

- name: Create sdk-redux stable release draft
if: env.SHOULD_PUBLISH_SDK_REDUX == 1
uses: actions/create-release@v1
uses: softprops/action-gh-release@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: sdk-redux@v${{ env.SDK_REDUX_NEW_VERSION }}
release_name: sdk-redux@v${{ env.SDK_REDUX_NEW_VERSION }}
name: sdk-redux@v${{ env.SDK_REDUX_NEW_VERSION }}
body_path: .github/RELEASE_TEMPLATE/release-notes.md
draft: true
5 changes: 5 additions & 0 deletions .github/workflows/handler.publish-dev-release-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,11 @@ jobs:
repository: superfluid-finance/build-scripts
path: build-scripts

- uses: actions/setup-node@v4
with:
node-version: '24'
registry-url: 'https://registry.npmjs.org'

- uses: DeterminateSystems/nix-installer-action@v13

- name: Parse Tag
Expand Down
Loading