Uncomment release_macos workflow as it is now in disabled folder

This commit is contained in:
Tim Dévé 2020-11-11 21:37:49 +00:00
parent 76470b2adc
commit 8fd33e20c3

View File

@ -5,37 +5,37 @@ on:
name: Create Release (macOS)
# jobs:
# build:
# name: Create Release
# runs-on: macos-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v2
jobs:
build:
name: Create Release
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
# - name: Build and zip
# run: ./scripts/release.sh ${{ github.ref }} --noprompt
- name: Build and zip
run: ./scripts/release.sh ${{ github.ref }} --noprompt
# - name: Create Github Release
# id: create_release
# uses: actions/create-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ github.ref }}
# body: |
# This is a release of the Carp compiler on macOS.
# draft: false
# prerelease: false
- name: Create Github Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
This is a release of the Carp compiler on macOS.
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: ./releases/${{ github.ref }}.zip
# asset_name: ${{ github.ref }}.zip
# asset_content_type: application/zip
- 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: ./releases/${{ github.ref }}.zip
asset_name: ${{ github.ref }}.zip
asset_content_type: application/zip