Skip to content

Commit

Permalink
bump versions of actions used
Browse files Browse the repository at this point in the history
create automatic release only from master (was on any 'workflow_dispatch')
  • Loading branch information
Garux committed Feb 4, 2024
1 parent 22a4ee2 commit f6fd436
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
release: false
update: false

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -45,7 +45,7 @@ jobs:
wget https://www.dropbox.com/s/hcgkwzzmja3m6c0/netradiant-custom-extra-win.zip
unzip -o netradiant-custom-extra-win.zip -d "install"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Windows-${{ matrix.arch }}
path: install/
Expand All @@ -64,7 +64,7 @@ jobs:
run: |
sudo apt-get -qq update
sudo apt-get -y install mesa-common-dev qtbase5-dev
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive

Expand All @@ -74,19 +74,19 @@ jobs:
wget https://www.dropbox.com/s/b1xpajzfa6yjlzf/netradiant-custom-extra-gamepacks.zip
unzip -o netradiant-custom-extra-gamepacks.zip -d "install"
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Linux-${{ matrix.arch }}
path: install/
if-no-files-found: error

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]
runs-on: windows-latest
steps:
- name: Download Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4

- name: Create binary archives
shell: cmd
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shaderManual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
shaderManual_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
github-token: ${{ secrets.ACTION_TOKEN }}
script: |
Expand Down

0 comments on commit f6fd436

Please sign in to comment.