Skip to content

Commit

Permalink
Update versions in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
HEnquist committed Aug 20, 2023
1 parent f94e9e3 commit 76485d3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ jobs:
build_fe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: HEnquist/camillagui
ref: v1.0.1
ref: v2.0.0-alpha1
- name: Build and publish
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install
- run: npm run build
- name: Upload build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build
path: build
Expand All @@ -26,15 +26,17 @@ jobs:
runs-on: ubuntu-latest
needs: build_fe
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/[email protected]
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Run python tests
run: python3 -m unittest discover -p "*_test.py"
- name: Download frontend
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
- name: Upload all
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: camillagui-backend
path: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ jobs:
build_fe:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
repository: HEnquist/camillagui
ref: v1.0.1
ref: v2.0.0-alpha1
- name: Build and publish
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install
- run: npm run build
- name: Upload build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: build
path: build
Expand All @@ -29,9 +29,9 @@ jobs:
runs-on: ubuntu-latest
needs: build_fe
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Download frontend
uses: actions/download-artifact@v2
uses: actions/download-artifact@v3
- run: zip -r camillagui.zip *
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ You need both the CamillaDSP companion python libraries:

To install the libraries, use `pip` to install directly from github:
```sh
pip install git+https://github.com/HEnquist/[email protected]
pip install git+https://github.com/HEnquist/[email protected]
pip install git+https://github.com/HEnquist/[email protected]-alpha1
pip install git+https://github.com/HEnquist/[email protected]-alpha1
```
Note that on some systems the command is `pip3` instead of `pip`.

Expand Down

0 comments on commit 76485d3

Please sign in to comment.