WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
File tree Expand file tree Collapse file tree 2 files changed +20
-20
lines changed
Expand file tree Collapse file tree 2 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -12,32 +12,32 @@ defaults:
1212jobs :
1313 build :
1414 runs-on : ubuntu-latest
15-
15+
1616 steps :
17- - uses : actions/checkout@v2
18-
17+ - uses : actions/checkout@v4
18+
1919 - id : set-version
2020 run : |
2121 version=$(python -c 'import sys, json; f=open("./settings.json");print(json.loads(f.read())["releaseVersion"])')
22- echo "::set-output name= version:: $version"
22+ echo "version= $version" >> $GITHUB_OUTPUT
2323
2424 - name : Set up hub
2525 run : |
2626 sudo apt install hub -y
27-
28- - name : Set up Python 3.9
29- uses : actions/setup-python@v1
27+
28+ - name : Set up Python
29+ uses : actions/setup-python@v5
3030 with :
3131 python-version : ' 3.x'
3232
3333 - name : Install dependencies
3434 run : |
3535 if [ -f ../requirements.txt ]; then pip3 install -r ../requirements.txt; fi
36-
36+
3737 - name : Create DeepSea Packages
3838 env :
3939 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40- run : |
40+ run : |
4141 python ./start.py -gt="$GITHUB_TOKEN"
4242
4343 - name : Create DevRelease
4949 done
5050 hub release create "${assets[@]}" -d -m "DevRelease v${{ steps.set-version.outputs.version }}" "v${{ steps.set-version.outputs.version }}"
5151 env :
52- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -12,34 +12,34 @@ defaults:
1212jobs :
1313 build :
1414 runs-on : ubuntu-latest
15-
15+
1616 steps :
17- - uses : actions/checkout@v2
18-
17+ - uses : actions/checkout@v4
18+
1919 - id : set-version
2020 run : |
2121 version=$(python -c 'import sys, json; f=open("./settings.json");print(json.loads(f.read())["releaseVersion"])')
22- echo "::set-output name= version:: $version"
22+ echo "version= $version" >> $GITHUB_OUTPUT
2323
2424 - name : Set up hub
2525 run : |
2626 sudo apt install hub -y
2727
28- - name : Set up Python 3.9
29- uses : actions/setup-python@v1
28+ - name : Set up Python
29+ uses : actions/setup-python@v5
3030 with :
3131 python-version : ' 3.x'
3232
3333 - name : Install dependencies
3434 run : |
3535 if [ -f ../requirements.txt ]; then pip3 install -r ../requirements.txt; fi
36-
36+
3737 - name : Create DeepSea Packages
3838 env :
3939 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
40- run : |
40+ run : |
4141 python ./start.py -gt="$GITHUB_TOKEN"
42-
42+
4343 - name : Create Release
4444 run : |
4545 set -x
4949 done
5050 hub release create "${assets[@]}" -d -m "Release v${{ steps.set-version.outputs.version }}" "v${{ steps.set-version.outputs.version }}"
5151 env :
52- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments