Updated upload-artifact to v4

This commit is contained in:
Brian Choromanski
2024-10-01 22:34:11 -04:00
parent 61f5d7a902
commit 7cd7089980
3 changed files with 7 additions and 7 deletions

View File

@@ -27,7 +27,7 @@ jobs:
# Create Chrome artifacts # Create Chrome artifacts
- name: Create Chrome artifacts - name: Create Chrome artifacts
run: npm run build:chrome run: npm run build:chrome
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: ChromeExtension name: ChromeExtension
path: dist path: dist
@@ -39,7 +39,7 @@ jobs:
# Create Firefox artifacts # Create Firefox artifacts
- name: Create Firefox artifacts - name: Create Firefox artifacts
run: npm run build:firefox run: npm run build:firefox
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: FirefoxExtension name: FirefoxExtension
path: dist path: dist
@@ -50,7 +50,7 @@ jobs:
# Create Beta artifacts (Builds with the name changed to beta) # Create Beta artifacts (Builds with the name changed to beta)
- name: Create Chrome Beta artifacts - name: Create Chrome Beta artifacts
run: npm run build:chrome -- --env stream=beta run: npm run build:chrome -- --env stream=beta
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: ChromeExtensionBeta name: ChromeExtensionBeta
path: dist path: dist
@@ -60,7 +60,7 @@ jobs:
- name: Create Firefox Beta artifacts - name: Create Firefox Beta artifacts
run: npm run build:firefox -- --env stream=beta run: npm run build:firefox -- --env stream=beta
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: FirefoxExtensionBeta name: FirefoxExtensionBeta
path: dist path: dist

View File

@@ -108,7 +108,7 @@ jobs:
# Firefox Beta # Firefox Beta
- name: Create Firefox Beta artifacts - name: Create Firefox Beta artifacts
run: npm run build:firefox -- --env stream=beta run: npm run build:firefox -- --env stream=beta
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: FirefoxExtensionBeta name: FirefoxExtensionBeta
path: dist path: dist
@@ -125,7 +125,7 @@ jobs:
run: sudo apt-get install rename run: sudo apt-get install rename
- name: Rename signed file - name: Rename signed file
run: cd ./web-ext-artifacts ; rename 's/.*/FirefoxSignedInstaller.xpi/' * run: cd ./web-ext-artifacts ; rename 's/.*/FirefoxSignedInstaller.xpi/' *
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: FirefoxExtensionSigned.xpi name: FirefoxExtensionSigned.xpi
path: ./web-ext-artifacts/FirefoxSignedInstaller.xpi path: ./web-ext-artifacts/FirefoxSignedInstaller.xpi

View File

@@ -25,7 +25,7 @@ jobs:
- name: Upload results on fail - name: Upload results on fail
if: ${{ failure() }} if: ${{ failure() }}
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Test Results name: Test Results
path: ./test-results path: ./test-results