Skip to content

Commit

Permalink
Enable build for ubuntu 20.04 and 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
iKapitonau committed Oct 31, 2024
1 parent 622292d commit fdd14e5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
fail-fast: false
matrix:
db_backend: [goleveldb]
runs-on: ubuntu-22.04
os: [ubuntu-22.04, ubuntu-20.04]
runs-on: ${{matrix.os}}
env: # Or as an environment variable
SPID: ${{ secrets.SPID_TESTNET }}
API_KEY: ${{ secrets.API_KEY_TESTNET }}
Expand Down Expand Up @@ -59,11 +60,11 @@ jobs:
- name: Run .deb Package Image
run: |
docker run -e VERSION=${{ steps.get_version.outputs.VERSION }} -v $GITHUB_WORKSPACE/build:/build deb_build
cp build/secretnetwork_${{ steps.get_version.outputs.VERSION }}_amd64.deb secretnetwork_${{ steps.get_version.outputs.VERSION }}_testnet_${{ matrix.db_backend }}_amd64.deb
cp build/secretnetwork_${{ steps.get_version.outputs.VERSION }}_amd64.deb secretnetwork_${{ steps.get_version.outputs.VERSION }}_testnet_${{ matrix.db_backend }}_amd64_${{ matrix.os }}.deb
- uses: actions/upload-artifact@v3
with:
name: secretnetwork_${{ steps.get_version.outputs.VERSION }}_testnet_${{ matrix.db_backend }}_amd64.deb
path: secretnetwork_${{ steps.get_version.outputs.VERSION }}_testnet_${{ matrix.db_backend }}_amd64.deb
name: secretnetwork_${{ steps.get_version.outputs.VERSION }}_testnet_${{ matrix.db_backend }}_amd64_${{ matrix.os }}.deb
path: secretnetwork_${{ steps.get_version.outputs.VERSION }}_testnet_${{ matrix.db_backend }}_amd64_${{ matrix.os }}.deb

build-deb-mainnet:
runs-on: ubuntu-22.04
Expand Down

0 comments on commit fdd14e5

Please sign in to comment.