Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kwagyeman authored Oct 24, 2024
1 parent cadcdc9 commit 640ef49
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,28 +221,28 @@ jobs:

- name: '⬆ Upload artifacts'
if: github.event_name != 'pull_request'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: 'build/openmv-*.${{ matrix.map.suffix }}'
if-no-files-found: error

- name: '⬆ Upload zip'
if: github.event_name != 'pull_request' && (matrix.map.host == 'windows' || matrix.map.host == 'windows-factory')
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: 'build/openmv-*.zip'
if-no-files-found: error

- name: '⬆ Upload resources (1/2)'
if: github.event_name != 'pull_request' && matrix.map.host == 'linux'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: 'build/openmv-*.tar.gz'
if-no-files-found: error

- name: '⬆ Upload resources (2/2)'
if: github.event_name != 'pull_request' && matrix.map.host == 'linux'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: 'build/openmv-*.zip'
if-no-files-found: error
Expand All @@ -262,7 +262,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- name: '🤌 Download artifacts'
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4

- name: "✏️ Generate release changelog"
id: changelog
Expand Down Expand Up @@ -296,7 +296,7 @@ jobs:
contents: write
steps:
- name: '🤌 Download artifacts'
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4

- name: '🧹 Delete old release'
uses: dev-drprasad/[email protected]
Expand Down

0 comments on commit 640ef49

Please sign in to comment.