Skip to content

Commit

Permalink
Migrate from save-state to environment files
Browse files Browse the repository at this point in the history
  • Loading branch information
acerspyro committed Nov 18, 2024
1 parent 1069a9a commit 39a7430
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gemfury-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- id: strip-revision
run: |
RELEASE_VERSION_REV_STRIPPED=$(echo $RELEASE_VERSION | sed 's/^v//')
echo "::save-state name=release_version_rev_stripped::$RELEASE_VERSION_REV_STRIPPED"
echo "release_version_rev_stripped=$RELEASE_VERSION_REV_STRIPPED" >> $GITHUB_OUTPUT
outputs:
release_version_rev_stripped: ${{ steps.strip-revision.outputs.release_version_rev_stripped }}

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/notion-repackaged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ jobs:
run: |
source notion-repackaged.sh
echo "::save-state name=notion_version::$NOTION_VERSION"
echo "::save-state name=notion_repackaged_revision::$NOTION_REPACKAGED_REVISION"
echo "::save-state name=notion_download_hash::$NOTION_DOWNLOAD_HASH"
echo "::save-state name=notion_enhancer_desktop_commit::$NOTION_ENHANCER_DESKTOP_COMMIT"
echo "notion_version=$NOTION_VERSION" >> $GITHUB_OUTPUT
echo "notion_repackaged_revision=$NOTION_REPACKAGED_REVISION" >> $GITHUB_OUTPUT
echo "notion_download_hash=$NOTION_DOWNLOAD_HASH" >> $GITHUB_OUTPUT
echo "notion_enhancer_desktop_commit=$NOTION_ENHANCER_DESKTOP_COMMIT" >> $GITHUB_OUTPUT
NOTION_REPACKAGED_VERSION_REV="${NOTION_VERSION}-${NOTION_REPACKAGED_REVISION}"
echo "::save-state name=notion_repackaged_version_rev::$NOTION_REPACKAGED_VERSION_REV"
echo "notion_repackaged_version_rev=$NOTION_REPACKAGED_VERSION_REV" >> $GITHUB_OUTPUT
outputs:
notion_version: ${{ steps.preload-variables.outputs.notion_version }}
notion_repackaged_revision: ${{ steps.preload-variables.outputs.notion_repackaged_revision }}
notion_repackaged_version_rev: ${{ steps.preload-variables.outputs.notion_repackaged_version_rev }}
notion_download_hash: ${{ steps.preload-variables.outputs.notion_download_hash }}
notion_enhancer_desktop_commit: ${{ steps.preload-variables.outputs.notion_enhancer_desktop_commit }}
notion_repackaged_version_rev: ${{ steps.preload-variables.outputs.notion_repackaged_version_rev }}

create-release:
name: Create release
Expand Down

0 comments on commit 39a7430

Please sign in to comment.