Skip to content

Commit

Permalink
Update package-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OTFlorian authored Jul 1, 2024
1 parent 1e60d07 commit b33d0ad
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/package-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,20 @@ jobs:
- name: Create private key file
run: echo "${{ secrets.PRIVATE_KEY }}" > private.pem

- name: List directory contents
run: ls -R
- name: List directory contents before creating CRX
run: ls -alR

- name: Verify manifest.json exists
run: test -f ./manifest.json && echo "manifest.json found" || echo "manifest.json not found"

- name: Create CRX file
run: |
mkdir -p dist
crx3 --crx dist/isnss-extractor.crx --zip dist/isnss-extractor.zip --key private.pem --o extension .
- name: List directory contents after creating CRX
run: ls -alR dist

- name: Get version from manifest
id: get_version
run: echo "VERSION=$(jq -r '.version' ./manifest.json)" >> $GITHUB_ENV
Expand Down

0 comments on commit b33d0ad

Please sign in to comment.