Add fileExtension to MediaItem #15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "[dev] Release" | |
| on: | |
| push: | |
| branches: | |
| - dev | |
| paths-ignore: | |
| - "**/*.md" | |
| - ".vscode/**" | |
| jobs: | |
| Build: | |
| uses: ./.github/workflows/build.yml | |
| Release: | |
| name: Release dev on GitHub | |
| needs: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Download All Artifacts | |
| uses: actions/download-artifact@v4 | |
| with: | |
| name: luna-artifacts | |
| path: ./dist/ | |
| - name: Get version from package.json | |
| run: | | |
| VERSION=$(jq -r .version ./dist/package.json) | |
| echo "VERSION=${VERSION}" >> $GITHUB_ENV | |
| - name: Publish dev release on GitHub | |
| uses: marvinpinto/action-automatic-releases@latest | |
| with: | |
| repo_token: ${{ secrets.GITHUB_TOKEN }} | |
| automatic_release_tag: ${{ env.VERSION }} | |
| prerelease: true | |
| title: Release ${{ env.VERSION }} | |
| files: ./dist/luna.zip |