Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Create gem-push.yml #42

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/blank.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

# Runs a single command using the runners shell
- name: Run a one-line script
run: echo Hello, world!

# Runs a set of commands using the runners shell
- name: Run a multi-line script
run: |
echo Add other actions to build,
echo test, and deploy your project.
45 changes: 45 additions & 0 deletions .github/workflows/gem-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Ruby Gem

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
name: Build + Publish
runs-on: ubuntu-latest
permissions:
contents: read
packages: write

steps:
- uses: actions/checkout@v2
- name: Set up Ruby 2.6
uses: actions/setup-ruby@v1
with:
ruby-version: 2.6.x

- name: Publish to GPR
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:github: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
env:
GEM_HOST_API_KEY: "Bearer ${{secrets.GITHUB_TOKEN}}"
OWNER: ${{ github.repository_owner }}

- name: Publish to RubyGems
run: |
mkdir -p $HOME/.gem
touch $HOME/.gem/credentials
chmod 0600 $HOME/.gem/credentials
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
gem build *.gemspec
gem push *.gem
env:
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
1 change: 1 addition & 0 deletions .spec.os
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20b92781-5663-4ac1-a439-658a53f8e83f
Binary file added Microsoft AI - Responsible AI infographic.pdf
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
R2l0aWxlcyAtIEEgc2ltcGxlIEpHaXQgcmVwb3NpdG9yeSBicm93c2VyCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQoKR2l0aWxlcyBpcyBhIHNpbXBsZSByZXBvc2l0b3J5IGJyb3dzZXIgZm9yIEdpdCByZXBvc2l0b3JpZXMsIGJ1aWx0IG9uIEpHaXQuIEl0cwpndWlkaW5nIHByaW5jaXBsZSBpcyBzaW1wbGljaXR5OiBpdCBoYXMgbm8gZm9ybWFsIGFjY2VzcyBjb250cm9scywgbm8gd3JpdGUKYWNjZXNzLCBubyBmYW5jeSBKYXZhc2NyaXB0LCBldGMuCgoKQlVJTERJTkcKCkdpdGlsZXMgcmVxdWlyZXMgTWF2ZW4gKGh0dHA6Ly9tYXZlbi5hcGFjaGUub3JnLykgdG8gYnVpbGQuCgpzdWRvIGFwdC1nZXQgaW5zdGFsbCBtYXZlbgpjZCBnaXRpbGVzCm12biBjb21waWxlCgoKVEVTVElORwoKY2QgZ2l0aWxlcwptdm4gcGFja2FnZQouL3Rvb2xzL3J1bl9kZXYuc2gKb3BlbiBodHRwOi8vbG9jYWxob3N0OjgwODAvIHRvIHZpZXcgeW91ciBsb2NhbCBjb3B5IG9mIGdpdGlsZXMuCg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