bump versions of actions used

create automatic release only from master (was on any 'workflow_dispatch')
This commit is contained in:
Garux 2024-02-04 19:20:28 +06:00
parent 22a4ee2f81
commit f6fd436d69
2 changed files with 7 additions and 7 deletions

View File

@ -33,7 +33,7 @@ jobs:
release: false release: false
update: false update: false
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
@ -45,7 +45,7 @@ jobs:
wget https://www.dropbox.com/s/hcgkwzzmja3m6c0/netradiant-custom-extra-win.zip wget https://www.dropbox.com/s/hcgkwzzmja3m6c0/netradiant-custom-extra-win.zip
unzip -o netradiant-custom-extra-win.zip -d "install" unzip -o netradiant-custom-extra-win.zip -d "install"
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: Windows-${{ matrix.arch }} name: Windows-${{ matrix.arch }}
path: install/ path: install/
@ -64,7 +64,7 @@ jobs:
run: | run: |
sudo apt-get -qq update sudo apt-get -qq update
sudo apt-get -y install mesa-common-dev qtbase5-dev sudo apt-get -y install mesa-common-dev qtbase5-dev
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
submodules: recursive submodules: recursive
@ -74,19 +74,19 @@ jobs:
wget https://www.dropbox.com/s/b1xpajzfa6yjlzf/netradiant-custom-extra-gamepacks.zip wget https://www.dropbox.com/s/b1xpajzfa6yjlzf/netradiant-custom-extra-gamepacks.zip
unzip -o netradiant-custom-extra-gamepacks.zip -d "install" unzip -o netradiant-custom-extra-gamepacks.zip -d "install"
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: Linux-${{ matrix.arch }} name: Linux-${{ matrix.arch }}
path: install/ path: install/
if-no-files-found: error if-no-files-found: error
create-testing: create-testing:
if: github.ref == 'refs/heads/master' && github.event_name == 'push' || github.event_name == 'workflow_dispatch' if: github.ref == 'refs/heads/master' && ( github.event_name == 'push' || github.event_name == 'workflow_dispatch' )
needs: [windows-msys, linux] needs: [windows-msys, linux]
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Download Artifacts - name: Download Artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
- name: Create binary archives - name: Create binary archives
shell: cmd shell: cmd

View File

@ -11,7 +11,7 @@ jobs:
shaderManual_deploy: shaderManual_deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/github-script@v6 - uses: actions/github-script@v7
with: with:
github-token: ${{ secrets.ACTION_TOKEN }} github-token: ${{ secrets.ACTION_TOKEN }}
script: | script: |