{"id":18665628,"url":"https://github.com/saamerm/xamarin-githubactions-devops","last_synced_at":"2025-06-24T21:32:50.465Z","repository":{"id":45974752,"uuid":"232935608","full_name":"saamerm/Xamarin-GitHubActions-DevOps","owner":"saamerm","description":"This repo contains the result of my work combining GitHub Actions with Xamarin Forms for iOS \u0026 Android","archived":false,"fork":false,"pushed_at":"2022-02-19T15:31:57.000Z","size":449,"stargazers_count":17,"open_issues_count":3,"forks_count":15,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-23T06:23:03.545Z","etag":null,"topics":["android","ci-cd","cicd","github-actions","githubactions","ios","xamarin","xamarin-forms","xamarin-githubactions-devops","xamarinforms"],"latest_commit_sha":null,"homepage":"https://levelup.gitconnected.com/using-github-actions-with-ios-and-android-xamarin-apps-693a93b48a61?source=friends_link\u0026sk=cd81773f2e5a5931ae49c9362b4db795","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/saamerm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-10T00:53:31.000Z","updated_at":"2024-04-23T06:23:03.546Z","dependencies_parsed_at":"2022-07-18T06:00:35.910Z","dependency_job_id":null,"html_url":"https://github.com/saamerm/Xamarin-GitHubActions-DevOps","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saamerm%2FXamarin-GitHubActions-DevOps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saamerm%2FXamarin-GitHubActions-DevOps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saamerm%2FXamarin-GitHubActions-DevOps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saamerm%2FXamarin-GitHubActions-DevOps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saamerm","download_url":"https://codeload.github.com/saamerm/Xamarin-GitHubActions-DevOps/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223482799,"owners_count":17152604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","ci-cd","cicd","github-actions","githubactions","ios","xamarin","xamarin-forms","xamarin-githubactions-devops","xamarinforms"],"created_at":"2024-11-07T08:28:27.024Z","updated_at":"2024-11-07T08:28:27.762Z","avatar_url":"https://github.com/saamerm.png","language":"C#","readme":"# Xamarin-GitHubActions-DevOps\n This repo contains the result of my work combining GitHub Actions with Xamarin to Automatically Build iOS \u0026 Android apps\n\nYou can take a look at the article [here](https://levelup.gitconnected.com/using-github-actions-with-ios-and-android-xamarin-apps-693a93b48a61?source=friends_link\u0026sk=cd81773f2e5a5931ae49c9362b4db795) that has more details. It will also give you a better understanding of what you see in the Actions folder.\n\nAlso, here's a short snippet of what to do [for GitLab](https://stackoverflow.com/questions/42757115/has-anyone-successfully-built-xamarin-forms-with-gitlab-ci/63233029#63233029)\n\n## Where's the file published? \n\nRight now, the file is published as an \"artifact\" ZIP file https://github.com/actions/upload-artifact/issues/3 and can be found below your successful Action, as you can see here\n\u003cimg width=\"871\" alt=\"image\" src=\"https://user-images.githubusercontent.com/8262287/116001770-38336f00-a5c4-11eb-8857-9121c3f5774e.png\"\u003e\n\n\n### Build your Android code \u0026 Publish the Signed APK from the build\n\nIf you want to build and publish the APK, simply copy this into your repository's .github/workflows/main.yml file.\nMake sure to change Blank in all instances with your own Project/Solution name and change \"com.tfp.blank\" with the bundle identifier mentioned in your AndroidManifest file.\n\n```\nname: CI on Push and Pull Request\non: [push, pull_request]\njobs:\n  Android:\n    runs-on: macos-latest    \n    steps:\n    - uses: actions/checkout@v1      \n    - name: Android\n      run: |\n        cd Blank\n        nuget restore\n        msbuild Blank.Android/Blank.Android.csproj /verbosity:normal /t:Rebuild /t:PackageForAndroid /t:SignAndroidPackage /p:Configuration=Debug \n    - uses: actions/upload-artifact@v2\n      with:\n        name: Android App\n        path: Blank/Blank.Android/bin/Debug/com.tfp.blank-Signed.apk        \n```\n\n### Build your iOS code \u0026 Publish the simulator APP from the build\n\nIf you want to build and publish the simulator APP file, simply copy this into your repository's .github/workflows/main.yml file.\nMake sure to change Blank in all instances with your own Project/Solution name.\n\n```\nname: CI on Push and Pull Request\non: [push, pull_request]\njobs:\n  iOS:\n    runs-on: macos-latest    \n    steps:\n    - name: Checkout repository\n      uses: actions/checkout@v2        \n    - name: iOS Simulator\n      run: |\n        cd Blank\n        nuget restore\n        msbuild Blank/Blank.iOS/Blank.iOS.csproj /verbosity:normal /t:Rebuild /p:Platform=iPhoneSimulator /p:Configuration=Debug        \n    - uses: actions/upload-artifact@v2\n      with:\n        name: iOS Simulator App\n        path: Blank/Blank.iOS/bin/iPhoneSimulator/Debug/Blank.iOS.app        \n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaamerm%2Fxamarin-githubactions-devops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaamerm%2Fxamarin-githubactions-devops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaamerm%2Fxamarin-githubactions-devops/lists"}