Skip to content

Commit

Permalink
Merge pull request #150 from Stardown-app/fix-action
Browse files Browse the repository at this point in the history
Attempt to fix GH Action
  • Loading branch information
wheelercj authored Nov 12, 2024
2 parents f4d479b + c2afe1b commit a74a10d
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,22 @@ jobs:
cp README.md LICENSE firefox
echo "Copying docs into folder"
cp -r docs firefox/docs
echo "$GITHUB_REF_NAME"
echo "${{ github.ref_name }}"
echo "stardown-$GITHUB_REF_NAME-firefox.zip"
echo "stardown-${{ github.ref_name }}-firefox.zip"
echo "Zipping folder"
zip -r "stardown-$GITHUB_REF_NAME-firefox.zip" firefox
echo "Zipping folder into stardown-${{ github.ref_name }}-firefox.zip"
zip -r "stardown-${{ github.ref_name }}-firefox.zip" firefox
- name: Build for Chrome
run: |
npm run build-chrome
echo "Copying readme and license into folder"
cp README.md LICENSE chrome
echo "Copying docs into folder"
cp -r docs chrome/docs
echo "Zipping folder"
zip -r "stardown-$GITHUB_REF_NAME-chrome.zip" chrome
echo "Zipping folder into stardown-${{ github.ref_name }}-chrome.zip"
zip -r "stardown-${{ github.ref_name }}-chrome.zip" chrome
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: |
stardown-$GITHUB_REF_NAME-firefox.zip
stardown-$GITHUB_REF_NAME-chrome.zip
stardown-${{ github.ref_name }}-firefox.zip
stardown-${{ github.ref_name }}-chrome.zip

0 comments on commit a74a10d

Please sign in to comment.