Skip to content

Commit

Permalink
bump github action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
campersau committed Jan 13, 2024
1 parent 7ab0b60 commit 49da6b0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'

Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
# WINEDLLOVERRIDES: 'mscoree,mshtml='

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down Expand Up @@ -66,79 +66,79 @@ jobs:

- name: Upload npm pack
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ungit
path: ungit-*.tgz
retention-days: 7

- name: Upload ungit-darwin-arm64
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ungit-darwin-arm64
path: dist/ungit-darwin-arm64.zip
retention-days: 7

- name: Upload ungit-darwin-x64
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ungit-darwin-x64
path: dist/ungit-darwin-x64.zip
retention-days: 7

- name: Upload ungit-linux-arm64
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ungit-linux-arm64
path: dist/ungit-linux-arm64.zip
retention-days: 7

- name: Upload ungit-linux-armv7l
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ungit-linux-armv7l
path: dist/ungit-linux-armv7l.zip
retention-days: 7

- name: Upload ungit-linux-x64
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ungit-linux-x64
path: dist/ungit-linux-x64.zip
retention-days: 7

- name: Upload ungit-win32-arm64
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ungit-win32-arm64
path: dist/ungit-win32-arm64.zip
retention-days: 7

- name: Upload ungit-win32-ia32
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ungit-win32-ia32
path: dist/ungit-win32-ia32.zip
retention-days: 7

- name: Upload ungit-win32-x64
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ungit-win32-x64
path: dist/ungit-win32-x64.zip
retention-days: 7

- name: npm publish
if: matrix.os == 'ubuntu-latest' && matrix.node-version == '18' && github.repository == 'FredrikNoren/ungit' && github.ref == 'refs/heads/master'
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
Expand Down

0 comments on commit 49da6b0

Please sign in to comment.