Skip to content

Commit

Permalink
ci: temporarily disable GitHub Actions workflows
Browse files Browse the repository at this point in the history
- 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
appcypher committed Jan 8, 2025
1 parent 7949aa7 commit f752c78
Show file tree
Hide file tree
Showing 2 changed files with 291 additions and 291 deletions.
132 changes: 66 additions & 66 deletions .github/workflows/release.yml
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
Loading

0 comments on commit f752c78

Please sign in to comment.