diff options
author | 2021-07-18 12:29:28 +0530 | |
---|---|---|
committer | 2021-07-18 12:29:49 +0530 | |
commit | 1b58e90e862e0a3c64f6086b8a8c8ea66ffe1faf (patch) | |
tree | 955f6804e01483b05620577a86ab07fd117a538a /.github/workflows/ferdi-builds.yml | |
parent | Update submodules, browserslist data updates and linter fixes [skip ci] (diff) | |
download | ferdium-app-1b58e90e862e0a3c64f6086b8a8c8ea66ffe1faf.tar.gz ferdium-app-1b58e90e862e0a3c64f6086b8a8c8ea66ffe1faf.tar.zst ferdium-app-1b58e90e862e0a3c64f6086b8a8c8ea66ffe1faf.zip |
Slight perf improvement for GH build checkout action; removed unused workflow.
Diffstat (limited to '.github/workflows/ferdi-builds.yml')
-rw-r--r-- | .github/workflows/ferdi-builds.yml | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/.github/workflows/ferdi-builds.yml b/.github/workflows/ferdi-builds.yml index 6f89fbe25..f326abfd5 100644 --- a/.github/workflows/ferdi-builds.yml +++ b/.github/workflows/ferdi-builds.yml | |||
@@ -45,7 +45,6 @@ jobs: | |||
45 | with: | 45 | with: |
46 | ref: nightly | 46 | ref: nightly |
47 | submodules: recursive | 47 | submodules: recursive |
48 | fetch-depth: 0 | ||
49 | - id: should_run | 48 | - id: should_run |
50 | name: Check whether there are any commits since this run was last triggered and push them and/or set the output | 49 | name: Check whether there are any commits since this run was last triggered and push them and/or set the output |
51 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, 'nightly branch')) }} | 50 | if: ${{ github.event_name == 'schedule' || (github.event_name == 'workflow_dispatch' && contains(github.event.inputs.message, 'nightly branch')) }} |
@@ -86,13 +85,11 @@ jobs: | |||
86 | with: | 85 | with: |
87 | submodules: recursive | 86 | submodules: recursive |
88 | ref: nightly | 87 | ref: nightly |
89 | fetch-depth: 0 | ||
90 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch | 88 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch |
91 | uses: actions/checkout@v2 | 89 | uses: actions/checkout@v2 |
92 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} | 90 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} |
93 | with: | 91 | with: |
94 | submodules: recursive | 92 | submodules: recursive |
95 | fetch-depth: 0 | ||
96 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) | 93 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) |
97 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 94 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
98 | shell: bash | 95 | shell: bash |
@@ -185,13 +182,11 @@ jobs: | |||
185 | with: | 182 | with: |
186 | submodules: recursive | 183 | submodules: recursive |
187 | ref: nightly | 184 | ref: nightly |
188 | fetch-depth: 0 | ||
189 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch | 185 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch |
190 | uses: actions/checkout@v2 | 186 | uses: actions/checkout@v2 |
191 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} | 187 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} |
192 | with: | 188 | with: |
193 | submodules: recursive | 189 | submodules: recursive |
194 | fetch-depth: 0 | ||
195 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) | 190 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) |
196 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 191 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
197 | shell: bash | 192 | shell: bash |
@@ -276,13 +271,11 @@ jobs: | |||
276 | with: | 271 | with: |
277 | submodules: recursive | 272 | submodules: recursive |
278 | ref: nightly | 273 | ref: nightly |
279 | fetch-depth: 0 | ||
280 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch | 274 | - name: Checkout code along with submodules for any branch if the trigger event is NOT 'scheduled' and this is NOT a forced rebuild on the nightly branch |
281 | uses: actions/checkout@v2 | 275 | uses: actions/checkout@v2 |
282 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} | 276 | if: ${{ github.event_name != 'schedule' && env.MANUAL_REBUILD_ON_NIGHTLY != 'true' }} |
283 | with: | 277 | with: |
284 | submodules: recursive | 278 | submodules: recursive |
285 | fetch-depth: 0 | ||
286 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) | 279 | - name: Extract Git branch name from the currently checked out branch (not from the branch where this run was kicked off) |
287 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV | 280 | run: echo "GIT_BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD)" >> $GITHUB_ENV |
288 | shell: bash | 281 | shell: bash |