Skip to content

Commit

Permalink
moved to oolio group
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-till committed Mar 18, 2024
1 parent 5c7e0d2 commit 3dff6d5
Show file tree
Hide file tree
Showing 5 changed files with 6,746 additions and 6,566 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/autotag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
token: '${{ secrets.GH_AUTH_TOKEN }}'
token: '${{ secrets.GITHUB_TOKEN }}'
fetch-depth: 0
- uses: butlerlogic/action-autotag@master
with:
GITHUB_TOKEN: "${{ secrets.GH_AUTH_TOKEN }}"
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
tag_prefix: "v"
32 changes: 32 additions & 0 deletions .github/workflows/github-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: github-publish

on:
workflow_dispatch:
push:
tags:
- 'v*.*.*'

permissions:
contents: read
packages: write

jobs:
github-publish:
name: github-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: "https://npm.pkg.github.com"
scope: "@oolio-group"
- name: Install Node Dependencies
run: npm install
- name: Download & Build Icons
run: npm ci --progress=false && npm run generate
- name: Publish package
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish-rc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.GH_AUTH_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
title: Updated Icons
- name: Publish to NPM
uses: primer/publish@v2.0.0
env:
GITHUB_TOKEN: ${{ secrets.GH_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Loading

0 comments on commit 3dff6d5

Please sign in to comment.