Skip to content

Commit

Permalink
Merge pull request #1 from useblacksmith/add-wflw
Browse files Browse the repository at this point in the history
add workflow to bump bazel action
  • Loading branch information
adityamaru authored Oct 4, 2024
2 parents 941c362 + bc5b152 commit e429d77
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 208,506 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/bump-cache-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Bump Cache Version

on:
workflow_dispatch:
inputs:
cache_version:
description: 'New @useblacksmith/cache version'
required: true
type: string

jobs:
bump-cache-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Update package.json
run: |
sed -i 's/"@actions\/cache": "npm:@useblacksmith\/cache@[^"]*"/"@actions\/cache": "npm:@useblacksmith\/cache@${{ github.event.inputs.cache_version }}"/' package.json
- name: Install dependencies
run: npm install

- name: Build
run: npm run build

# - name: Commit and push changes
# run: |
# git config user.name github-actions
# git config user.email [email protected]
# git add .
# git commit -m "Bump @actions/cache version to ${{ github.event.inputs.cache_version }}"
# git push origin main

# - name: Update v1 tag
# run: |
# git push origin :refs/tags/v1
# git tag -fa v1 -m "Update v1 tag to latest main"
# git push origin v1
104,776 changes: 52 additions & 104,724 deletions dist/main/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main/sourcemap-register.js

Large diffs are not rendered by default.

103,865 changes: 87 additions & 103,778 deletions dist/post/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/post/sourcemap-register.js

Large diffs are not rendered by default.

0 comments on commit e429d77

Please sign in to comment.