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 8b632f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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_ENV
outputs:
release_version_rev_stripped: ${{ steps.strip-revision.outputs.release_version_rev_stripped }}

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/notion-repackaged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ 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_ENV
echo "{NOTION_REPACKAGED_REVISION}={$NOTION_REPACKAGED_REVISION}" >> $GITHUB_ENV
echo "{NOTION_DOWNLOAD_HASH}={$NOTION_DOWNLOAD_HASH}" >> $GITHUB_ENV
echo "{NOTION_ENHANCER_DESKTOP_COMMIT}={$NOTION_ENHANCER_DESKTOP_COMMIT}" >> $GITHUB_ENV
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_ENV
outputs:
notion_version: ${{ steps.preload-variables.outputs.notion_version }}
notion_repackaged_revision: ${{ steps.preload-variables.outputs.notion_repackaged_revision }}
Expand Down

0 comments on commit 8b632f4

Please sign in to comment.