Skip to content

Commit

Permalink
fix(workflows): missing uses for upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
ryand56 committed Oct 9, 2024
1 parent 16f5840 commit 604720c
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/test-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- name: Build
run: pnpm run build
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: r2-upload-action-${{ steps.date.outputs.date }}
path: dist/
Expand Down Expand Up @@ -92,20 +93,6 @@ jobs:
with:
name: r2-upload-action-${{ needs.build.outputs.artifactId }}
path: dist/
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
run_install: true
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install Dependencies
run: pnpm i --frozen-lockfile
- name: Build
run: pnpm run build
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H:%M:%S')"
Expand Down

0 comments on commit 604720c

Please sign in to comment.