diff --git a/.github/workflows/gem-build.yml b/.github/workflows/gem-build.yml deleted file mode 100644 index 26f9d8d..0000000 --- a/.github/workflows/gem-build.yml +++ /dev/null @@ -1,42 +0,0 @@ -name: Build Ruby Gem - -on: - pull_request: - branches: [ main ] - -jobs: - test: - - runs-on: ubuntu-latest - strategy: - matrix: - ruby-version: [ '2.7', '3.0', '3.1' ] - - steps: - - uses: actions/checkout@v3 - - name: Set up Ruby - # To automatically get bug fixes and new Ruby versions for ruby/setup-ruby, - # change this to (see https://github.com/ruby/setup-ruby#versioning): - uses: ruby/setup-ruby@v1 - with: - ruby-version: ${{ matrix.ruby-version }} - bundler-cache: true # runs 'bundle install' and caches installed gems automatically - - name: Install - run: bundle install - - name: Build jekyll site - run: bundle exec jekyll build - - name: Build the gem - continue-on-error: true - run: | - gem build *.gemspec - echo `find . -name "*.gem" | tail -1 | awk -F"[/]" '{print $2}'` - - name: Gems - continue-on-error: true - run: | - gem update --system - gem install type-on-strap - gem install jekyll-theme-type-on-strap - - name: GPR - continue-on-error: true - run: | - gem install type-on-strap --version "2.4.4" --source "https://rubygems.pkg.github.com/sylhare" diff --git a/.github/workflows/workflow-test.yml b/.github/workflows/workflow-test.yml deleted file mode 100644 index 602f8f8..0000000 --- a/.github/workflows/workflow-test.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Workflow Test - -on: - workflow_run: - workflows: ["Jekyll build"] - branches: ["main"] - types: - - completed - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Hello world - run: echo "Hello world"