-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: temporarily disable GitHub Actions workflows
- Comment out release.yml workflow for package publishing - Comment out tests_and_checks.yml workflow for testing and linting - Preserve workflow configurations for future re-enablement These workflows are temporarily disabled.
- Loading branch information
Showing
2 changed files
with
291 additions
and
291 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,75 @@ | ||
name: 🚀 Release Packages & Binaries | ||
# name: 🚀 Release Packages & Binaries | ||
|
||
on: | ||
push: | ||
branches: [ main ] | ||
workflow_dispatch: | ||
inputs: | ||
run_publish_release: | ||
description: 'Publish release' | ||
type: boolean | ||
required: true | ||
default: false | ||
# on: | ||
# push: | ||
# branches: [ main ] | ||
# workflow_dispatch: | ||
# inputs: | ||
# run_publish_release: | ||
# description: 'Publish release' | ||
# type: boolean | ||
# required: true | ||
# default: false | ||
|
||
permissions: | ||
contents: write | ||
pull-requests: write | ||
# permissions: | ||
# contents: write | ||
# pull-requests: write | ||
|
||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
releases_created: ${{ steps.release.outputs.releases_created }} | ||
prs_created: ${{ steps.release.outputs.prs_created }} | ||
tag_name: ${{ steps.release.outputs.tag_name }} | ||
steps: | ||
- name: Setup release-please | ||
uses: googleapis/release-please-action@v4 | ||
id: release | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
config-file: release-please-config.json | ||
manifest-file: .release-please-manifest.json | ||
# jobs: | ||
# release-please: | ||
# runs-on: ubuntu-latest | ||
# outputs: | ||
# releases_created: ${{ steps.release.outputs.releases_created }} | ||
# prs_created: ${{ steps.release.outputs.prs_created }} | ||
# tag_name: ${{ steps.release.outputs.tag_name }} | ||
# steps: | ||
# - name: Setup release-please | ||
# uses: googleapis/release-please-action@v4 | ||
# id: release | ||
# with: | ||
# token: ${{ secrets.GITHUB_TOKEN }} | ||
# config-file: release-please-config.json | ||
# manifest-file: .release-please-manifest.json | ||
|
||
- name: Check release status | ||
run: | | ||
echo "Release created: ${{ steps.release.outputs.releases_created }}" | ||
echo "PRs created: ${{ steps.release.outputs.prs_created }}" | ||
echo "monocore created: ${{ steps.release.outputs.monocore--releases_created }}" | ||
echo "monofs created: ${{ steps.release.outputs.monofs--releases_created }}" | ||
echo "monoutils-store created: ${{ steps.release.outputs.monoutils-store--releases_created }}" | ||
# - name: Check release status | ||
# run: | | ||
# echo "Release created: ${{ steps.release.outputs.releases_created }}" | ||
# echo "PRs created: ${{ steps.release.outputs.prs_created }}" | ||
# echo "monocore created: ${{ steps.release.outputs.monocore--releases_created }}" | ||
# echo "monofs created: ${{ steps.release.outputs.monofs--releases_created }}" | ||
# echo "monoutils-store created: ${{ steps.release.outputs.monoutils-store--releases_created }}" | ||
|
||
publish-release: | ||
needs: | ||
- release-please | ||
if: ${{ needs.release-please.outputs.releases_created == 'true' || github.event.inputs.run_publish_release }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
# publish-release: | ||
# needs: | ||
# - release-please | ||
# if: ${{ needs.release-please.outputs.releases_created == 'true' || github.event.inputs.run_publish_release }} | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - name: Checkout code | ||
# uses: actions/checkout@v4 | ||
|
||
- name: Publish monoutils-store | ||
working-directory: monoutils-store | ||
env: | ||
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} | ||
run: | | ||
cargo publish -p monoutils-store | ||
# - name: Publish monoutils-store | ||
# working-directory: monoutils-store | ||
# env: | ||
# CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} | ||
# run: | | ||
# cargo publish -p monoutils-store | ||
|
||
- name: Wait for crates.io index update | ||
run: | | ||
echo "Waiting for crates.io to update index..." | ||
sleep 30 | ||
# - name: Wait for crates.io index update | ||
# run: | | ||
# echo "Waiting for crates.io to update index..." | ||
# sleep 30 | ||
|
||
- name: Publish monofs | ||
working-directory: monofs | ||
env: | ||
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} | ||
run: | | ||
cargo publish -p monofs | ||
# - name: Publish monofs | ||
# working-directory: monofs | ||
# env: | ||
# CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} | ||
# run: | | ||
# cargo publish -p monofs | ||
|
||
- name: Publish monocore | ||
working-directory: monocore | ||
env: | ||
CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} | ||
run: | | ||
cargo publish -p monocore | ||
# - name: Publish monocore | ||
# working-directory: monocore | ||
# env: | ||
# CARGO_TOKEN: ${{ secrets.CARGO_TOKEN }} | ||
# run: | | ||
# cargo publish -p monocore |
Oops, something went wrong.