-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed excess build steps
- Loading branch information
Showing
1 changed file
with
6 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,18 @@ | ||
--- | ||
name: Docker Image CI | ||
name: Build BoringTun packages | ||
|
||
on: | ||
push: | ||
branches: ["master", "N-Storm-CI-boringtun-packages"] | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: ["master", "N-Storm-CI-boringtun-packages"] | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4.1.1 | ||
- name: Build the Docker image | ||
run: docker build --file build/Dockerfile --tag boringtun-builds:$(date +%s) build/ | ||
|
||
# - uses: actions/checkout@v3 | ||
- name: Build & extract the BoringTun packages. | ||
- name: Checkout repo | ||
uses: actions/checkout@v4 | ||
- name: Build BoringTun packages. | ||
run: cd build; bash ./BUILD.sh | ||
|
||
- uses: actions/cache@v4.0.1 | ||
name: Cache package files | ||
with: | ||
# A list of files, directories, and wildcard patterns to cache and restore | ||
path: build/packages/* | ||
# An explicit key for restoring and saving the cache | ||
key: boringtun-packages | ||
restore-keys: boringtun-packages | ||
# The chunk size used to split up large files during upload, in bytes | ||
upload-chunk-size: 500000 # optional | ||
# An optional boolean when enabled, allows windows runners to save or restore caches that can be restored or saved respectively on other platforms | ||
enableCrossOsArchive: true # optional, default is false | ||
# Run the post step to save the cache even if another step before fails | ||
save-always: false # optional, default is false | ||
|