Skip to content

Commit cba105b

Browse files
committed
Update benchmarks workflow to use updated github-actions syntax
1 parent 946c9fd commit cba105b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/benches.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ jobs:
2626
sudo service postgresql restart && sleep 3
2727
sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';"
2828
sudo service postgresql restart && sleep 3
29-
echo '::set-env name=PG_DATABASE_URL::postgres://postgres:postgres@localhost/'
29+
echo 'name=PG_DATABASE_URL::postgres://postgres:postgres@localhost/' >> $GITHUB_ENV
3030
3131
- name: Install sqlite (Linux)
3232
if: matrix.backend == 'sqlite'
3333
run: |
3434
sudo apt-get update
3535
sudo apt-get install -y libsqlite3-dev
36-
echo '::set-env name=SQLITE_DATABASE_URL::/tmp/test.db'
36+
echo 'name=SQLITE_DATABASE_URL::/tmp/test.db' >> $GITHUB_ENV
3737
3838
3939
- name: Install mysql (Linux)
@@ -43,7 +43,7 @@ jobs:
4343
sudo apt-get -y install mysql-server libmysqlclient-dev
4444
sudo /etc/init.d/mysql start
4545
mysql -e "create database diesel_test; create database diesel_unit_test; grant all on \`diesel_%\`.* to 'root'@'localhost';" -uroot -proot
46-
echo '::set-env name=MYSQL_DATABASE_URL::mysql://root:root@localhost/diesel_test'
46+
echo 'name=MYSQL_DATABASE_URL::mysql://root:root@localhost/diesel_test' >> $GITHUB_ENV
4747
4848
- name: Run benches
4949
uses: jasonwilliams/criterion-compare-action@move_to_actions

0 commit comments

Comments
 (0)