Skip to content

Commit

Permalink
really update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
itsthejoker committed Aug 8, 2022
1 parent d45b75d commit 3fc25f6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.10.x'
- name: Install Env
# shiv will download the dependencies it needs on its own
- uses: snok/install-poetry@v1.3.1
with:
virtualenvs-create: true
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install shiv
pip install poetry
pip install poetry2setup
sudo apt-get install libjpeg8 libjpeg-dev libpng-dev libpq-dev -y
poetry install
- name: Add CURRENT_TIME env property
# the smart thing to do here would be to use the commit hash, but
# github releases are ALPHABETIZED, so a commit hash of `abcdef` will
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release
name: Test Build

on: [pull_request]

Expand All @@ -12,14 +12,14 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.10.x'
- name: Install Env
# shiv will download the dependencies it needs on its own
- uses: snok/install-poetry@v1.3.1
with:
virtualenvs-create: true
- name: Install Dependencies
run: |
pip install --upgrade pip
pip install shiv
pip install poetry
pip install django==3
pip install poetry2setup
sudo apt-get install libjpeg8 libjpeg-dev libpng-dev libpq-dev -y
poetry install
- name: Add CURRENT_TIME env property
# the smart thing to do here would be to use the commit hash, but
# github releases are ALPHABETIZED, so a commit hash of `abcdef` will
Expand Down

0 comments on commit 3fc25f6

Please sign in to comment.