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

Commit

Permalink
ci: remove tag step
Browse files Browse the repository at this point in the history
  • Loading branch information
grant0417 committed Feb 14, 2022
1 parent ab8c5bb commit 1c412f5
Showing 1 changed file with 17 additions and 24 deletions.
41 changes: 17 additions & 24 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@ jobs:
- name: bundle files
run: |
zip -r plugins.zip build/
# - name: Checkout Cache
# uses: actions/checkout@v2
# with:
# repository: "withfig/core-backend"
# token: ${{ secrets.FIG_BOT_TOKEN }}
# ref: main
# path: backend
# - name: Add @latest to cache
# run: |
# cp ./plugins.zip ./backend/src/public/plugins.zip
# cd backend
# git config user.name "Build Action"
# git config user.email "[email protected]"
# git add .
# git commit -m "Updates plugins to latest"
# git push origin main
- name: Checkout Cache
uses: actions/checkout@v2
with:
repository: "withfig/core-backend"
token: ${{ secrets.CACHE_SPECS_TOKEN }}
ref: main
path: backend
- name: Add @latest to cache
run: |
cp ./plugins.zip ./backend/src/public/plugins.zip
cd backend
git config user.name "Build Action"
git config user.email "[email protected]"
git add .
git commit -m "Updates plugins to latest"
git push origin main
- name: "Automated Version Bump"
id: "version-bump"
uses: "phips28/gh-action-bump-version@master"
Expand All @@ -58,14 +58,7 @@ jobs:
with:
access: public
token: ${{ secrets.NPM_PUBLISH_TOKEN }}
# Bump the version and create a git tag with the new version
- name: Bump version and push tag
id: tag_version
uses: mathieudutour/[email protected]
with:
custom_tag: ${{ steps.version-bump.outputs.newTag }}
github_token: ${{ secrets.GITHUB_TOKEN }}
# Create a new github release with the newly created plugins.zip file
# Create a new github release with the newly created plugins.zip file
- name: Release
uses: softprops/action-gh-release@59c3b4891632ff9a897f99a91d7bc557467a3a22
with:
Expand Down

0 comments on commit 1c412f5

Please sign in to comment.