Skip to content

Commit

Permalink
refactor(ci): switch to quick-lint/sftp-upload@v2
Browse files Browse the repository at this point in the history
  • Loading branch information
strager committed Mar 1, 2023
1 parent 38b010a commit b2939e2
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/arch-linux-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
path: dist/arch/quick-lint-js-*.pkg.tar.zst
- name: upload build to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: dist/arch/quick-lint-js-*.pkg.tar.zst
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test-plugin-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ jobs:
path: plugin/vscode/*.vsix
- name: upload build to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: plugin/vscode/*.vsix
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
path: ${{ matrix.toolchain.archive_name }}${{ matrix.toolchain.archive_extension }}
- name: upload build to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: ${{ matrix.toolchain.archive_name }}${{ matrix.toolchain.archive_extension }}
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
path: quick-lint-js-*.tgz
- name: upload package to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: quick-lint-js-*.tgz
Expand Down Expand Up @@ -314,7 +314,7 @@ jobs:
path: quick-lint-js.nupkg
- name: upload package to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: quick-lint-js.nupkg
Expand Down Expand Up @@ -363,7 +363,7 @@ jobs:
path: quick-lint-js.json
- name: upload manifest to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: quick-lint-js.json
Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:
path: quick-lint-js.msix
- name: upload MSIX to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: quick-lint-js.msix
Expand Down Expand Up @@ -433,7 +433,7 @@ jobs:
path: winget-manifests/
- name: upload manifests to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: winget-manifests/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:

- name: upload build to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: website.zip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debian-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
dist/debian/build/quick-lint-js_*
- name: upload build to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
printf 'Git-Commit: %s\nWebsite-URL: %s' ${{ github.sha }} 'https://quick-lint-js.com/' >README
- name: upload tag file
if: ${{ github.repository_owner == 'quick-lint' }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: README
Expand All @@ -37,7 +37,7 @@ jobs:
QLJS_VERSION: ${{ steps.getversion.outputs.QLJS_VERSION }}
- name: upload source archive
if: ${{ github.repository_owner == 'quick-lint' }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: quick-lint-js-${{ steps.getversion.outputs.QLJS_VERSION }}.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-emacs-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
path: plugin/emacs/quick-lint-js-emacs.zip
- name: upload archive to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: plugin/emacs/quick-lint-js-emacs.zip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-vim-plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
path: plugin/vim/quick-lint-js-vim.zip
- name: upload archive to long-term storage
if: ${{ github.event_name == 'push' && github.repository_owner == 'quick-lint' != null }}
uses: quick-lint/sftp-upload@v1
uses: quick-lint/sftp-upload@v2
with:
host: ${{ secrets.artifacts_host }}
local-file-globs: plugin/vim/quick-lint-js-vim.zip
Expand Down

0 comments on commit b2939e2

Please sign in to comment.