test: make it easier to comment out tests
When the build stage is commented out, the /srv/forgejo-binaries directory will not exist. Change the script to work in both cases.
This commit is contained in:
parent
c2b7f36bc8
commit
6b35ea27c3
1 changed files with 2 additions and 1 deletions
|
@ -21,8 +21,9 @@ runs:
|
||||||
path: /srv/forgejo-binaries
|
path: /srv/forgejo-binaries
|
||||||
- name: chown/chmod /srv/forgejo-binaries
|
- name: chown/chmod /srv/forgejo-binaries
|
||||||
run: |
|
run: |
|
||||||
chmod +x /srv/forgejo-binaries/*
|
mkdir -p /srv/forgejo-binaries
|
||||||
chown -R forgejo /srv/forgejo-binaries
|
chown -R forgejo /srv/forgejo-binaries
|
||||||
|
chmod -R +x /srv/forgejo-binaries
|
||||||
- run: |
|
- run: |
|
||||||
script=$(pwd)/end-to-end.sh
|
script=$(pwd)/end-to-end.sh
|
||||||
$script run dependencies
|
$script run dependencies
|
||||||
|
|
Loading…
Add table
Reference in a new issue