mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-04 01:25:04 +03:00
Uncomment release_macos workflow as it is now in disabled folder
This commit is contained in:
parent
76470b2adc
commit
8fd33e20c3
62
.github/disabled-workflows/release_macos.yml
vendored
62
.github/disabled-workflows/release_macos.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user