Skip to content

Commit

Permalink
using webpack's zip
Browse files Browse the repository at this point in the history
  • Loading branch information
khill-fbmc committed Aug 25, 2024
1 parent b674dd9 commit 806225a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Build & Publish Extension

on:
push:
branches: ["main"]
branches: ["main", "devel"]

jobs:
build-retool-embedder:
Expand All @@ -19,9 +19,10 @@ jobs:
run: |
shortSha=$(git rev-parse --short ${{ github.sha }})
branch=$(git rev-parse --abbrev-ref HEAD)
zipfile=$(cat package.json | jq -r '"\(.name)-\(.version)"')
echo "COMMIT_SHORT_SHA=$shortSha" >> $GITHUB_ENV
echo "COMMIT_BRANCH=$branch" >> $GITHUB_ENV
echo "ZIP_FILE=retool-embedder-$branch-$shortSha" >> $GITHUB_ENV
echo "ZIP_FILE=$zipfile" >> $GITHUB_ENV
- name: Confirm env.COMMIT_SHORT_SHA
run: "echo 'env.COMMIT_SHORT_SHA === ${{ env.COMMIT_SHORT_SHA }}'"
Expand All @@ -41,7 +42,6 @@ jobs:
run: |-
npm ci
npm run build
zip -r ${{ env.ZIP_FILE }}.zip build
- name: Archive retool-embedder Artifact
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Chrome Extension - Retool Embedder
# App Embedder for Retool

<br />
<br />
Expand Down

0 comments on commit 806225a

Please sign in to comment.