1515 name : build
1616 url : ${{ steps.create_release.outputs.html_url }}
1717 steps :
18- - uses : actions/checkout@v2
18+ - uses : actions/checkout@v4
1919 - name : Create Release
2020 id : create_release
2121 uses : actions/create-release@v1
3838 npm run build -ws
3939 npm pack -ws
4040 - name : Upload
41- uses : actions/upload-artifact@v2
41+ uses : actions/upload-artifact@v4
4242 with :
4343 name : package
4444 path : " aaronpowell*.tgz"
5454 asset_content_type : application/zip
5555 - run : echo ${{ steps.create_release.outputs.id }} >> release.txt
5656 - name : Upload
57- uses : actions/upload-artifact@v2
57+ uses : actions/upload-artifact@v4
5858 with :
5959 name : release_id
6060 path : release.txt
@@ -66,12 +66,12 @@ jobs:
6666 name : release
6767 steps :
6868 - name : Download package
69- uses : actions/download-artifact@v2
69+ uses : actions/download-artifact@v4
7070 with :
7171 name : release_id
7272 - run : echo "release_id=$(cat release.txt)" >> $GITHUB_ENV
7373 - name : Publish release
74- uses : actions/github-script@v3
74+ uses : actions/github-script@v7
7575 with :
7676 github-token : ${{secrets.GITHUB_TOKEN}}
7777 script : |
@@ -85,12 +85,12 @@ jobs:
8585 needs : release
8686 runs-on : ubuntu-latest
8787 steps :
88- - uses : actions/checkout@v2
88+ - uses : actions/checkout@v4
8989 - name : Download package
90- uses : actions/download-artifact@v2
90+ uses : actions/download-artifact@v4
9191 with :
9292 name : package
93- - uses : actions/setup-node@v1
93+ - uses : actions/setup-node@v4
9494 with :
9595 node-version : ${{ env.NODE_VERSION }}
9696 registry-url : https://registry.npmjs.org/
@@ -102,12 +102,12 @@ jobs:
102102 needs : release
103103 runs-on : ubuntu-latest
104104 steps :
105- - uses : actions/checkout@v2
105+ - uses : actions/checkout@v4
106106 - name : Download package
107- uses : actions/download-artifact@v2
107+ uses : actions/download-artifact@v4
108108 with :
109109 name : package
110- - uses : actions/setup-node@v1
110+ - uses : actions/setup-node@v4
111111 with :
112112 node-version : ${{ env.NODE_VERSION }}
113113 registry-url : https://npm.pkg.github.com/
0 commit comments