Skip to content

Bump moc to 0.12.1

Bump moc to 0.12.1 #74

Workflow file for this run

name: release
on:
push:
tags:
- 'mo-*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: dhall-lang/setup-dhall@v4
with:
version: 1.42.0
- name: "install tools"
uses: ./.github/actions/install-tools
- name: "render package-set"
run: dhall resolve --file package-set.dhall | dhall > normalized
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: ${{ github.ref }}
draft: false
prerelease: false
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: normalized
asset_name: package-set.dhall
asset_content_type: application/x-dhall
- name: Generate Package Listing
run: |
cd generate-package-list
npm install --only=production
npm run build ${{ github.ref }}
- name: Upload Package Listing
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: generate-package-list/dist
SINGLE_COMMIT: yes