-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
name: Artifacts | ||
|
||
on: | ||
release: | ||
types: [ prereleased, released ] | ||
|
||
env: | ||
BUILD_TYPE: release | ||
OTHER_PROJECTS: "MulleFoundation/foundation-developer; | ||
MulleFoundation/mulle-foundation-developer; | ||
mulle-objc/mulle-objc-developer; | ||
mulle-c/mulle-c-developer;" | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ ubuntu-latest, macos-latest ] | ||
|
||
steps: | ||
- name: Add to path | ||
run: echo "$HOME/bin" >> $GITHUB_PATH | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- uses: mulle-sde/github-ci@v1 | ||
|
||
- uses: mulle-cc/github-ci@v4 | ||
|
||
- name: Choose musl on Linux | ||
run: | | ||
[ "${{ runner.os }}" != "Linux" ] || mulle-sde env set MULLE_CRAFT_SDKS "musl" | ||
- name: Mulle-SDE Craft | ||
run: mulle-sde craft --release | ||
|
||
- name: Get Executable | ||
run: echo "exepath=$(mulle-sde product list)" >> $GITHUB_OUTPUT | ||
id: executable | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: artifact.${{ runner.os }} | ||
path: ${{ steps.executable.outputs.exepath }} | ||
retention-days: 1 | ||
|
||
release: | ||
needs: [ build ] | ||
name: Upload Artifacts to Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Download Linux Artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: artifact.Linux | ||
# actual file will be ${{ steps.executable.outputs.exepath }} though! | ||
|
||
- name: Rename Linux Artifact | ||
run: | | ||
mv ${{ github.workspace }}/${{ github.event.repository.name }} ${{ github.workspace }}/${{ github.event.repository.name }}.linux | ||
- name: Download macOS Artifact | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: artifact.macOS | ||
|
||
- name: Rename macOS Artifact | ||
run: mv ${{ github.workspace }}/${{ github.event.repository.name }} ${{ github.workspace }}/${{ github.event.repository.name }}.macos | ||
|
||
- name: Upload Artifacts | ||
uses: alexellis/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.TOKEN }} | ||
with: | ||
asset_paths: '[ "${{ github.event.repository.name }}.*" ]' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
mulle-testallocator;${MULLE__TESTALLOCATOR_NODETYPE:-tar};no-import,no-singlephase;771E8378-6441-4C38-A7E4-CB238EBE5F35;${MULLE__TESTALLOCATOR_URL:-https://github.com/mulle-core/mulle-testallocator/archive/${MULLE_TAG}.tar.gz};${MULLE__TESTALLOCATOR_BRANCH};${MULLE__TESTALLOCATOR_TAG:-latest};; | ||
mulle-scion;${MULLE__SCION_NODETYPE:-tar};;8D534286-3EB7-405B-8508-AE1411A424C7;${MULLE__SCION_URL:-https://github.com/MulleWeb/mulle-scion/archive/${MULLE_TAG}.tar.gz};${MULLE__SCION_BRANCH};${MULLE__SCION_TAG:-latest};; | ||
Foundation-startup;${FOUNDATION_STARTUP_NODETYPE:-tar};no-dynamic-link,no-header,no-intermediate-link;58E37B87-5419-485D-ADC2-2580758E7B06;${FOUNDATION_STARTUP_URL:-https://github.com/MulleFoundation/Foundation-startup/archive/${MULLE_TAG}.tar.gz};${FOUNDATION_STARTUP_BRANCH};${FOUNDATION_STARTUP_TAG:-latest};; | ||
mulle-testallocator;${MULLE__TESTALLOCATOR_NODETYPE:-tar};no-import,no-singlephase;60C57ECC-2529-4B47-95B4-D7C2731EDD74;${MULLE__TESTALLOCATOR_URL:-https://github.com/mulle-core/mulle-testallocator/archive/${MULLE_TAG}.tar.gz};${MULLE__TESTALLOCATOR_BRANCH};${MULLE__TESTALLOCATOR_TAG:-latest};; | ||
mulle-scion;${MULLE__SCION_NODETYPE:-tar};;4A085193-822A-478E-870B-EC67D0AE9386;${MULLE__SCION_URL:-https://github.com/MulleWeb/mulle-scion/archive/${MULLE_TAG}.tar.gz};${MULLE__SCION_BRANCH};${MULLE__SCION_TAG:-latest};; | ||
Foundation-startup;${FOUNDATION_STARTUP_NODETYPE:-tar};no-dynamic-link,no-header,no-intermediate-link;582B9161-43FE-4301-8CCD-8206666DBE6A;${FOUNDATION_STARTUP_URL:-https://github.com/MulleFoundation/Foundation-startup/archive/${MULLE_TAG}.tar.gz};${FOUNDATION_STARTUP_BRANCH};${FOUNDATION_STARTUP_TAG:-latest};; |