Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build outside of Docker
Browse files Browse the repository at this point in the history
gschier committed May 27, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 0dc92d0 commit d7f10ef
Showing 3 changed files with 23 additions and 13 deletions.
6 changes: 1 addition & 5 deletions .github/actions/release-linux/Dockerfile
Original file line number Diff line number Diff line change
@@ -10,9 +10,5 @@ LABEL "com.github.actions.name"="Insomnia Ubuntu 16"
LABEL "com.github.actions.description"="Build and package on Ubuntu 16"

COPY entrypoint.sh /scripts/entrypoint.sh
COPY install-dependencies.sh /scripts/install-dependencies.sh

RUN chmod +x /scripts/*
RUN /scripts/install-dependencies.sh

ENTRYPOINT ["/scripts/entrypoint.sh"]
ENTRYPOINT ["/scripts/entrypoint.sh"]
13 changes: 10 additions & 3 deletions .github/workflows/release-core.yml
Original file line number Diff line number Diff line change
@@ -40,13 +40,20 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v1
- name: Run Docker
uses: ./.github/actions/release-linux
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 10
- name: Bootstrap packages
run: npm run bootstrap
- name: Run tests
run: npm test
- name: Release app
run: npm run app-release
env:
GITHUB_REF: ${{ github.ref }}
GITHUB_SHA: ${{ github.sha }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NODELIBCURL_BUILD_STATIC: yes
BUILD_TARGETS: AppImage,Snap,deb,tar.gz,rpm
SNAPCRAFT_LOGIN_FILE: ${{ secrets.SNAPCRAFT_LOGIN_FILE }}
env:
17 changes: 12 additions & 5 deletions .github/workflows/release-designer.yml
Original file line number Diff line number Diff line change
@@ -27,26 +27,33 @@ jobs:
- name: Run tests
run: npm test
- name: Release app
run: npm run app-release
env:
GITHUB_REF: ${{ github.ref }}
GITHUB_SHA: ${{ github.sha }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
CSC_LINK: ${{ secrets.DESIGNER_WINDOWS_CSC_LINK }}
CSC_KEY_PASSWORD: ${{ secrets.DESIGNER_WINDOWS_CSC_KEY_PASSWORD }}
run: npm run app-release
Linux:
name: Linux
runs-on: ubuntu-latest
runs-on: ubuntu-16.04
steps:
- name: Checkout branch
uses: actions/checkout@v1
- name: Run Docker
uses: ./.github/actions/release-linux
- name: Install NodeJS
uses: actions/setup-node@v1
with:
node-version: 10
- name: Bootstrap packages
run: npm run bootstrap
- name: Run tests
run: npm test
- name: Release app
run: npm run app-release
env:
GITHUB_REF: ${{ github.ref }}
GITHUB_SHA: ${{ github.sha }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NODELIBCURL_BUILD_STATIC: yes
BUILD_TARGETS: AppImage,deb,tar.gz,rpm
# Don't build Snap for Designer (yet)
# BUILD_TARGETS: AppImage,Snap

0 comments on commit d7f10ef

Please sign in to comment.