Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/name issue #35

Open
wants to merge 8 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
35 changes: 3 additions & 32 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,15 @@
name: "Bump Version"

on:
push:
branches: [main, master]
name: "Assets Checker by BharatPe"

on: [pull_request]
jobs:
bump-version:
name: "Bump Version on master"
runs-on: ubuntu-latest

steps:
- name: "Checkout source code"
uses: "actions/checkout@v2"
with:
ref: ${{ github.ref }}

- name: "cat package.json"
run: cat ./package.json

- name: "Automated Version Bump"
id: version-bump
uses: "phips28/gh-action-bump-version@master"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: "cat package.json"
run: cat ./package.json
- name: "Output Step"
env:
NEW_TAG: ${{ steps.version-bump.outputs.newTag }}
run: echo "new tag $NEW_TAG"

Assets-Checker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v1
with:
node-version: "14.15.0"
- uses: bharatpe/assets-checker@dev
- uses: bharatpe/assets-checker@fix/name-issue
with:
token: ${{ secrets.GITHUB_TOKEN }}
target_folder: src/assets
Expand Down
Binary file added src/assets/IMG_5586.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.