Skip to content

Commit

Permalink
ci(repo): unrevert
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph authored Feb 12, 2022
1 parent a35cb95 commit 1476cf1
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ jobs:
path: packages/chrome/dist/

firefox_extension:
if: ${{ false }}
needs: hunspell_dictionaries
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -130,7 +129,6 @@ jobs:
path: packages/firefox/dist/

libreoffice_extension:
if: ${{ false }}
needs: hunspell_dictionaries
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -205,8 +203,11 @@ jobs:
path: 'packages/npm/*.tgz'

publish:
if: ${{ startsWith(github.ref, 'refs/tags/') }}
needs:
- hunspell_dictionaries
- firefox_extension
- libreoffice_extension
- npm_package
runs-on: ubuntu-latest
steps:
Expand All @@ -227,14 +228,12 @@ jobs:
path: .temp

- name: Download Firefox extension
if: ${{ false }}
uses: actions/download-artifact@v2
with:
name: firefox_extension
path: .temp

- name: Download Libreoffice extension
if: ${{ false }}
uses: actions/download-artifact@v2
with:
name: libreoffice_extension
Expand All @@ -250,6 +249,13 @@ jobs:
run: ls -R
working-directory: .temp

- name: Publish a release
uses: softprops/action-gh-release@v1
with:
draft: true
files: '.temp/*'
generate_release_notes: true

- name: Publish to NPM
run: |
echo>.npmrc "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}"
Expand Down

0 comments on commit 1476cf1

Please sign in to comment.