Skip to content

Commit

Permalink
Update github actions workflows to use upload-artifact@v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabioz committed Oct 3, 2024
1 parent ee5b2e7 commit a27014b
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pre-release-robocorp-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:

- run: vsce package --pre-release --target win32-x64 -o robocorp-code-win32-x64.vsix

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: robocorp-code-win32-x64.vsix
path: ./robocorp-code/robocorp-code-win32-x64.vsix
Expand All @@ -81,7 +81,7 @@ jobs:

- run: vsce package --pre-release --target linux-x64 -o robocorp-code-linux-x64.vsix

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: robocorp-code-linux-x64.vsix
path: ./robocorp-code/robocorp-code-linux-x64.vsix
Expand All @@ -97,7 +97,7 @@ jobs:

- run: vsce package --pre-release --target darwin-x64 -o robocorp-code-darwin-x64.vsix

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: robocorp-code-darwin-x64.vsix
path: ./robocorp-code/robocorp-code-darwin-x64.vsix
Expand All @@ -113,7 +113,7 @@ jobs:

- run: vsce package --pre-release --target darwin-arm64 -o robocorp-code-darwin-arm64.vsix

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: robocorp-code-darwin-arm64.vsix
path: ./robocorp-code/robocorp-code-darwin-arm64.vsix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pre-release-robotframework-lsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
# VSCode (build)
- run: npm install -g vsce@2.6.7
- run: vsce package -o robotframework-lsp.vsix
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: robotframework-lsp.vsix
path: ./robotframework-ls/robotframework-lsp.vsix
Expand All @@ -72,7 +72,7 @@ jobs:
- name: Package
working-directory: ./robotframework-intellij
run: ./gradlew buildPlugin
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: intellij-distribution
path: robotframework-intellij/build/distributions/
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-robocorp-code-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

- run: vsce package --target win32-x64 -o robocorp-code-win32-x64.vsix

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: robocorp-code-win32-x64.vsix
path: ./robocorp-code/robocorp-code-win32-x64.vsix
Expand All @@ -70,7 +70,7 @@ jobs:

- run: vsce package --target linux-x64 -o robocorp-code-linux-x64.vsix

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: robocorp-code-linux-x64.vsix
path: ./robocorp-code/robocorp-code-linux-x64.vsix
Expand All @@ -91,7 +91,7 @@ jobs:

- run: vsce package --target darwin-x64 -o robocorp-code-darwin-x64.vsix

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: robocorp-code-darwin-x64.vsix
path: ./robocorp-code/robocorp-code-darwin-x64.vsix
Expand All @@ -112,7 +112,7 @@ jobs:

- run: vsce package --target darwin-arm64 -o robocorp-code-darwin-arm64.vsix

- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: robocorp-code-darwin-arm64.vsix
path: ./robocorp-code/robocorp-code-darwin-arm64.vsix
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-robotframework-lsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
# VSCode (build)
- run: npm install -g vsce@2.6.7
- run: vsce package -o robotframework-lsp.vsix
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: robotframework-lsp.vsix
path: ./robotframework-ls/robotframework-lsp.vsix
Expand All @@ -63,7 +63,7 @@ jobs:
- name: Package
working-directory: ./robotframework-intellij
run: ./gradlew buildPlugin
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: intellij-distribution
path: robotframework-intellij/build/distributions/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-example-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
env:
PYTHONPATH: .
run: python -u ../../robocorp-python-ls-core/tests/run_tests.py -rfE -otests_output -vv .
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: tests_output.${{ matrix.name }}.txt
path: example-vscode/tests/tests_output
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-robocorp-code-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,12 @@ jobs:
# Big timeout to create environment in windows.
RUN_TESTS_TIMEOUT: 3000
run: poetry run python -u ../../robocorp-python-ls-core/tests/run_tests.py -rfE -otests_output -vv .
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
if: always()
with:
name: tests_output.${{ matrix.name }}.txt
path: robocorp-code/tests/tests_output
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
if: always()
with:
name: log.${{ matrix.name }}.html
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-robocorp-python-ls-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
env:
PYTHONPATH: .
run: python -u ./run_tests.py -rfE -otests_output -vv .
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: tests_output.${{ matrix.name }}.txt
path: robocorp-python-ls-core/tests/tests_output
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-robotframework-intellij.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
pwd
./gradlew buildPlugin
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: intellij-distribution
path: robotframework-intellij/build/distributions/
2 changes: 1 addition & 1 deletion .github/workflows/tests-robotframework-interactive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
PYTHONPATH: .
RUN_TESTS_TIMEOUT: 300
run: python -u ../../robocorp-python-ls-core/tests/run_tests.py -rfE -otests_output -vv .
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: tests_output.${{ matrix.name }}.txt
path: robotframework-interactive/tests/tests_output
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-robotframework-lsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
PYTHONPATH: .
RUN_TESTS_TIMEOUT: 800
run: python -u ../../robocorp-python-ls-core/tests/run_tests.py -rfE -otests_output -vv .
- uses: actions/upload-artifact@v1
- uses: actions/upload-artifact@v4
with:
name: tests_output.${{ matrix.name }}.txt
path: robotframework-ls/tests/tests_output
Expand Down

0 comments on commit a27014b

Please sign in to comment.