-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
1 addition
and
32 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 |
---|---|---|
|
@@ -7,33 +7,6 @@ on: | |
|
||
jobs: | ||
|
||
refresh-modules: | ||
name: Refresh Submodules | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token | ||
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo | ||
|
||
- name: Create local changes | ||
run: | | ||
git submodule update --init --recursive | ||
git submodule update --recursive --remote | ||
- name: Commit files | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "GitHub Action" | ||
git commit -m "New Release: Update Submodules" -a || echo "New Release: No updates to submodules" | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: main | ||
|
||
|
||
generate-version: | ||
name: Generate version | ||
runs-on: ubuntu-latest | ||
|
@@ -62,7 +35,7 @@ jobs: | |
|
||
git-release: | ||
name: Git Release | ||
needs: ["generate-version", "refresh-modules"] | ||
needs: ["generate-version"] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
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,3 +0,0 @@ | ||
[submodule "i4trust-tutorials"] | ||
path = i4trust-tutorials | ||
url = https://github.com/i4Trust/tutorials.git | ||
Submodule i4trust-tutorials
deleted from
c5c10c