Skip to content

Commit

Permalink
update: update artifact version for main
Browse files Browse the repository at this point in the history
  • Loading branch information
rishavjeet committed Jan 15, 2025
1 parent 5e5789d commit 294c59e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 17 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
branches:
- main
- release/*
- update/artifact-version
pull_request:
# Don't run for irrelevant changes.
paths-ignore:
Expand Down Expand Up @@ -163,13 +164,13 @@ jobs:
mv build/web-stories build/web-stories-dev/
- name: Upload regular bundle
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: web-stories
path: build/web-stories-regular

- name: Upload development bundle
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: web-stories-dev
path: build/web-stories-dev
Expand Down Expand Up @@ -198,7 +199,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Download all artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
path: ${{ github.ref }}

Expand Down Expand Up @@ -234,7 +235,7 @@ jobs:
uses: actions/checkout@v2

- name: Download full bundle
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: web-stories
path: build
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/deploy-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- 'tests/**'
branches:
- main
- update/artifact-version

jobs:
build-storybook:
Expand Down Expand Up @@ -61,7 +62,7 @@ jobs:
run: npm run storybook:build

- name: Upload storybook
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: storybook-files
path: build/storybook
Expand All @@ -83,7 +84,7 @@ jobs:
ref: gh-pages

- name: Download storybook files
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: storybook-files
path: storybook-files
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/plugin-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
echo "" > assets_version/assets_version.txt
- name: Upload assets version
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: assets-version
path: public/static/assets_version
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
GITHUB_AUTH: ${{ secrets.PLUGIN_RELEASE_ACCESS_TOKEN }}

- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: changelog
path: build/changelog
Expand All @@ -283,7 +283,7 @@ jobs:
token: ${{ secrets.PLUGIN_RELEASE_ACCESS_TOKEN }}

- name: Download assets version
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: assets-version
continue-on-error: true
Expand Down Expand Up @@ -426,7 +426,7 @@ jobs:
mv build/*.zip build/release-assets/
- name: Upload artifacts
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: release-assets
path: build/release-assets
Expand All @@ -441,13 +441,13 @@ jobs:
uses: actions/checkout@v2

- name: Download release artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: release-assets
path: build

- name: Download changelog
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: changelog
path: changelog
Expand Down Expand Up @@ -578,7 +578,7 @@ jobs:
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
steps:
- name: Download release artifacts
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: release-assets
path: release-assets
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests-karma-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
branches:
- main
- release/*
- update/artifact-version
pull_request:
# Only run if dashboard-related files changed.
paths:
Expand Down Expand Up @@ -90,7 +91,7 @@ jobs:
flags: karmatests

- name: Upload CUJ coverage
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: cuj-coverage-dashboard
path: build/cuj-coverage-dashboard.md
Expand All @@ -109,7 +110,7 @@ jobs:
ref: gh-pages

- name: Download coverage file
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: cuj-coverage-dashboard

Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests-karma-editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ on:
branches:
- main
- release/*
- update/artifact-version
pull_request:
# Only run if editor-related files changed.
paths:
Expand Down Expand Up @@ -111,7 +112,7 @@ jobs:
github.event.pull_request.user.login != 'dependabot[bot]'
- name: Upload CUJ coverage
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: cuj-coverage-edit-story
path: build/cuj-coverage-edit-story.md
Expand All @@ -130,7 +131,7 @@ jobs:
ref: gh-pages

- name: Download coverage file
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: cuj-coverage-edit-story

Expand Down

0 comments on commit 294c59e

Please sign in to comment.