-
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.
- Loading branch information
1 parent
189114b
commit fbeb7a1
Showing
4 changed files
with
69 additions
and
45 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
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 |
---|---|---|
|
@@ -14,14 +14,16 @@ on: | |
secrets: | ||
WORKFLOW_ACCESS_TOKEN: | ||
required: true | ||
ACTIONS_READ_ACCESS_TOKEN: | ||
required: true | ||
schedule: | ||
- cron: "42 23 31 12 *" | ||
|
||
env: | ||
REPOSITORY_NAME: '${{ github.event.repository.name }}' | ||
REPOSITORY_NAME: ${{ github.event.repository.name }} | ||
PROJECT_NAME: 'openponk-${{ github.event.repository.name }}' | ||
VERSION: 'nightly' | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
VERSION: 'nightly' | ||
cache-name: zip-cache | ||
RUN_ID: ${{ github.run_id }} | ||
|
||
|
@@ -34,9 +36,9 @@ jobs: | |
name: 'Build Linux' | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2.4.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Load SmalltalkCI environment | ||
uses: hpi-swa/[email protected].2 | ||
uses: hpi-swa/[email protected].4 | ||
id: smalltalkci | ||
with: | ||
smalltalk-image: Pharo64-11 | ||
|
@@ -46,8 +48,10 @@ jobs: | |
timeout-minutes: 12 | ||
- name: Create zip | ||
run: chmod u+x .github/scripts/build-linux.sh; ./.github/scripts/build-linux.sh | ||
env: | ||
ACTIONS_READ_ACCESS_TOKEN: ${{ secrets.ACTIONS_READ_ACCESS_TOKEN }} | ||
- name: Cache zip | ||
uses: actions/cache/save@v3.2.2 | ||
uses: actions/cache/save@v3.3.2 | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
|
@@ -59,9 +63,9 @@ jobs: | |
name: 'Build Mac' | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2.4.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Load SmalltalkCI environment | ||
uses: hpi-swa/[email protected].2 | ||
uses: hpi-swa/[email protected].4 | ||
id: smalltalkci | ||
with: | ||
smalltalk-image: Pharo64-11 | ||
|
@@ -71,8 +75,10 @@ jobs: | |
timeout-minutes: 12 | ||
- name: Create zip | ||
run: chmod u+x .github/scripts/build-mac.sh; ./.github/scripts/build-mac.sh | ||
env: | ||
ACTIONS_READ_ACCESS_TOKEN: ${{ secrets.ACTIONS_READ_ACCESS_TOKEN }} | ||
- name: Cache zip | ||
uses: actions/cache/save@v3.2.2 | ||
uses: actions/cache/save@v3.3.2 | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
|
@@ -84,9 +90,9 @@ jobs: | |
name: 'Build Windows' | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2.4.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Load SmalltalkCI environment | ||
uses: hpi-swa/[email protected].2 | ||
uses: hpi-swa/[email protected].4 | ||
id: smalltalkci | ||
with: | ||
smalltalk-image: Pharo64-11 | ||
|
@@ -96,8 +102,10 @@ jobs: | |
timeout-minutes: 20 | ||
- name: Create zip | ||
run: ./.github/scripts/build-win.ps1 | ||
env: | ||
ACTIONS_READ_ACCESS_TOKEN: ${{ secrets.ACTIONS_READ_ACCESS_TOKEN }} | ||
- name: Cache zip | ||
uses: actions/cache/save@v3.2.2 | ||
uses: actions/cache/save@v3.3.2 | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
|
@@ -111,7 +119,7 @@ jobs: | |
steps: | ||
- name: Get zip from cache | ||
id: get-zip | ||
uses: actions/cache/restore@v3.2.2 | ||
uses: actions/cache/restore@v3.3.2 | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
|
@@ -128,7 +136,7 @@ jobs: | |
steps: | ||
- name: Get zip from cache | ||
id: get-zip | ||
uses: actions/cache/restore@v3.2.2 | ||
uses: actions/cache/restore@v3.3.2 | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
|
@@ -145,7 +153,7 @@ jobs: | |
steps: | ||
- name: Get zip from cache | ||
id: get-zip | ||
uses: actions/cache/restore@v3.2.2 | ||
uses: actions/cache/restore@v3.3.2 | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
|
@@ -162,10 +170,10 @@ jobs: | |
PLATFORM: linux | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2.4.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Get zip from cache | ||
id: get-zip | ||
uses: actions/cache/restore@v3.2.2 | ||
uses: actions/cache/restore@v3.3.2 | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
|
@@ -197,15 +205,13 @@ jobs: | |
steps: | ||
- name: Get zip from cache | ||
id: get-zip | ||
uses: actions/cache/restore@v3.2.2 | ||
uses: actions/cache/restore@v3.3.2 | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
- name: Get Release by Tag | ||
id: get_release_by_tag | ||
uses: jonfriesen/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: nightly | ||
- name: Upload zip | ||
|
@@ -226,15 +232,13 @@ jobs: | |
steps: | ||
- name: Get zip from cache | ||
id: get-zip | ||
uses: actions/cache/restore@v3.2.2 | ||
uses: actions/cache/restore@v3.3.2 | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
- name: Get Release by Tag | ||
id: get_release_by_tag | ||
uses: jonfriesen/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: nightly | ||
- name: Upload zip | ||
|
@@ -255,15 +259,13 @@ jobs: | |
steps: | ||
- name: Get zip from cache | ||
id: get-zip | ||
uses: actions/cache/restore@v3.2.2 | ||
uses: actions/cache/restore@v3.3.2 | ||
with: | ||
path: ${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
key: ${{ github.run_id }}-${{ github.run_number }}_${{ env.PROJECT_NAME }}-${{ env.PLATFORM }}-${{ env.VERSION }}.zip | ||
- name: Get Release by Tag | ||
id: get_release_by_tag | ||
uses: jonfriesen/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: nightly | ||
- name: Upload zip | ||
|
@@ -284,7 +286,7 @@ jobs: | |
matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2.4.0 | ||
uses: actions/checkout@v4.1.0 | ||
- name: Check list of repositories exists | ||
id: check-file | ||
run: test -f ./.github/dependent-repositories.txt || exit 1 | ||
|
@@ -301,9 +303,10 @@ jobs: | |
matrix: ${{fromJson(needs.create-dependent-matrix.outputs.matrix)}} | ||
steps: | ||
- name: Start ${{ matrix.repository }} build | ||
uses: benc-uk/workflow-dispatch@v1.1.0 | ||
uses: benc-uk/workflow-dispatch@v1.2.2 | ||
with: | ||
workflow: Nightly | ||
repo: ${{ matrix.repository }} | ||
ref: ${{ matrix.branch }} | ||
token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }} | ||
inputs: '{ "build-dependent": "${{ matrix.build-dependent }}" }' |
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 |
---|---|---|
|
@@ -4,12 +4,15 @@ on: | |
release: | ||
types: [published] | ||
workflow_call: | ||
secrets: | ||
ACTIONS_READ_ACCESS_TOKEN: | ||
required: true | ||
|
||
env: | ||
REPOSITORY_NAME: '${{ github.event.repository.name }}' | ||
REPOSITORY_NAME: ${{ github.event.repository.name }} | ||
PROJECT_NAME: 'openponk-${{ github.event.repository.name }}' | ||
VERSION: ${{ github.event.release.tag_name }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
VERSION: ${{ github.event.release.tag_name }} | ||
RUN_ID: ${{ github.run_id }} | ||
|
||
jobs: | ||
|
@@ -19,8 +22,8 @@ jobs: | |
PLATFORM: ${{ github.job }} | ||
name: 'Build Linux and upload zip' | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: hpi-swa/[email protected].2 | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: hpi-swa/[email protected].4 | ||
id: smalltalkci | ||
with: | ||
smalltalk-image: Pharo64-11 | ||
|
@@ -30,9 +33,11 @@ jobs: | |
timeout-minutes: 12 | ||
- name: Create zip | ||
run: chmod u+x .github/scripts/build-linux.sh; ./.github/scripts/build-linux.sh | ||
env: | ||
ACTIONS_READ_ACCESS_TOKEN: ${{ secrets.ACTIONS_READ_ACCESS_TOKEN }} | ||
- name: Get release | ||
id: get_release | ||
uses: bruceadams/get-release@v1.2.3 | ||
uses: bruceadams/get-release@v1.3.2 | ||
- name: Upload zip | ||
id: upload-zip | ||
uses: actions/[email protected] | ||
|
@@ -48,8 +53,8 @@ jobs: | |
PLATFORM: ${{ github.job }} | ||
name: 'Build Mac and upload zip' | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: hpi-swa/[email protected].2 | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: hpi-swa/[email protected].4 | ||
id: smalltalkci | ||
with: | ||
smalltalk-image: Pharo64-11 | ||
|
@@ -59,9 +64,11 @@ jobs: | |
timeout-minutes: 12 | ||
- name: Create zip | ||
run: chmod u+x .github/scripts/build-mac.sh; ./.github/scripts/build-mac.sh | ||
env: | ||
ACTIONS_READ_ACCESS_TOKEN: ${{ secrets.ACTIONS_READ_ACCESS_TOKEN }} | ||
- name: Get release | ||
id: get_release | ||
uses: bruceadams/get-release@v1.2.3 | ||
uses: bruceadams/get-release@v1.3.2 | ||
- name: Upload zip | ||
id: upload-zip | ||
uses: actions/[email protected] | ||
|
@@ -77,8 +84,8 @@ jobs: | |
PLATFORM: ${{ github.job }} | ||
name: 'Build Windows and upload zip' | ||
steps: | ||
- uses: actions/checkout@v2.4.0 | ||
- uses: hpi-swa/[email protected].2 | ||
- uses: actions/checkout@v4.1.0 | ||
- uses: hpi-swa/[email protected].4 | ||
id: smalltalkci | ||
with: | ||
smalltalk-image: Pharo64-11 | ||
|
@@ -88,9 +95,11 @@ jobs: | |
timeout-minutes: 20 | ||
- name: Create zip | ||
run: ./.github/scripts/build-win.ps1 | ||
env: | ||
ACTIONS_READ_ACCESS_TOKEN: ${{ secrets.ACTIONS_READ_ACCESS_TOKEN }} | ||
- name: Get release | ||
id: get_release | ||
uses: bruceadams/get-release@v1.2.3 | ||
uses: bruceadams/get-release@v1.3.2 | ||
- name: Upload zip | ||
id: upload-zip | ||
uses: actions/[email protected] | ||
|